摘要: Description: Count the number of prime numbers less than a non-negative number, n. 阅读全文
posted @ 2016-08-29 09:17 微微程序媛 阅读(119) 评论(0) 推荐(0) 编辑
摘要: 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 longes 阅读全文
posted @ 2016-08-29 07:59 微微程序媛 阅读(110) 评论(0) 推荐(0) 编辑
摘要: Given a string, find the length of the longest substring without repeating characters. Examples: Given "abcabcbb", the answer is "abc", which the leng 阅读全文
posted @ 2016-08-29 04:56 微微程序媛 阅读(132) 评论(0) 推荐(0) 编辑