---不包含jiuzhang ladders中出现过的题。如出现多个方法,则最后一个方法是最优解。
目录:
1 String
2 Two pointers
3 Array
4 DFS && BFS
5 Math
6 Dynamic Programming
7 Data Structure
8 Binary Search
9 Tree
10 Bit Manipulation
11 Linked List
12 graph
1.1 Longest Palindromic Substring --- bug free
求一个字符串中的最长回文子串
求一个字符串中的最长回文子串。 Example: Input: "babad" Output: "bab" Note: "aba" is also a valid answer. Example: Input: "cbbd" Output: "bb"