         
         return String(sChars[maxStart ... maxStart + maxLen - 1])
     }
-}+}

        let len = sChars.count
        var maxLen = 1
        var maxStart = 0
        var isPalin = Array(count: len, repeatedValue: [Bool](count: len, repeatedValue: false))
        
        // set palindrome whose len is 1
        for i in 0 ... len - 1 {

            }
        }
        
        if len >= 3 {
            for length in 3 ... len {
                for i in 0 ... len - length {
                    if sChars[i] == sChars[i + length - 1] && isPalin[i + 1][i + length - 2] {
