摘要: leetcode -Longest Palindromic SubstringGiven a stringS, find the longest palindromic substring inS. You may assume that the maximum length ofSis 1000,... 阅读全文
posted @ 2015-08-16 23:44 cnblogshnj 阅读(154) 评论(0) 推荐(0)
摘要: leetcode - String to Integer (atoi)Implementatoito convert a string to an integer.Hint:Carefully consider all possible input cases. If you want a chal... 阅读全文
posted @ 2015-08-16 20:42 cnblogshnj 阅读(145) 评论(0) 推荐(0)
摘要: leetcode -Reverse Words in a StringGiven an input string, reverse the string word by word.For example,Given s = "the sky is blue",return "blue is sky ... 阅读全文
posted @ 2015-08-16 11:51 cnblogshnj 阅读(142) 评论(0) 推荐(0)