LeetCode
BigVic
战五渣
展开
-
LeetCode--longest palindromic substring
Given a string S, find the longest palindromic substring in S. You may assume that the maximum length of S is 1000, and there exists one unique longest palindromic substring.求最长回文子串,回文指字符串是对称的,如转载 2015-05-06 14:25:20 · 289 阅读 · 0 评论 -
ZigZag Convert
The string "PAYPALISHIRING" is written in a zigzag pattern on a given number of rows like this: (you may want to display this pattern in a fixed font for better legibility) P A H N A P L S I原创 2015-05-06 15:11:11 · 207 阅读 · 0 评论