leetcode/String
Alatebloomer
这个作者很懒,什么都没留下…
展开
-
LeetCode-3. Longest Substring Without Repeating Characters(没有重复字母的最长子序列)
LeetCode-3. Longest Substring Without Repeating CharactersGiven a string, find the length of the longest substring without repeating characters.Examples:Given "abcabcbb", the answer is "abc", which th...原创 2018-03-05 20:29:39 · 225 阅读 · 0 评论 -
LeetCode-5.Longest Palindromic Substring(最长回文序列)
LeetCode-5.Longest Palindromic SubstringGiven a string s, find the longest palindromic substring in s. You may assume that the maximum length of s is 1000.Example:Input: "babad" Output: "bab" Note: ...原创 2018-03-06 15:26:48 · 200 阅读 · 0 评论 -
Leetcode-8. String to Integer (atoi)(字符串转整数)
Leetcode-8. String to Integer (atoi)Implement atoi which converts a string to an integer.The function first discards as many whitespace characters as necessary until the first non-whitespace character...原创 2018-05-11 10:22:35 · 258 阅读 · 0 评论