LeetCode 5. Longest Palindromic Substring
https://leetcode.com/problems/longest-palindromic-substring/description/
Given a string s, find the longest palindromic substring in s. You may assume
that the maximum length of s is 1000.
這題要在一個字串裡面找出最長的子字串
https://paste.ofcode.org/WpkzvXdgCx2zXJGhULWYtm
這是我用暴力法寫的,但是submit後他說有 Wrong Answer
我不知道錯在哪裡
有人能幫我看看嗎?
感謝