摘要: Given a string containing just the characters '(', ')', '{', '}', '[' and ']', determine if the input string is valid. The brackets must close in the 阅读全文
posted @ 2017-12-02 03:11 jasminemzy 阅读(209) 评论(0) 推荐(0)
摘要: Given a string s, find the longest palindromic substring in s. You may assume that the maximum length of s is 1000. Example: Example: 1. O(n3)复杂度做。双层f 阅读全文
posted @ 2017-12-02 02:55 jasminemzy 阅读(152) 评论(0) 推荐(0)