摘要:
Given a digit string, return all possible letter combinations that the number could represent. A mapping of digit to letters (just like on the telepho 阅读全文
posted @ 2017-10-17 16:55
daniel456
阅读(138)
评论(0)
推荐(0)
摘要:
Implement atoi to convert a string to an integer. Hint: Carefully consider all possible input cases. If you want a challenge, please do not see below 阅读全文
posted @ 2017-10-17 16:43
daniel456
阅读(105)
评论(0)
推荐(0)
摘要:
Given a string s, find the longest palindromic substring in s. You may assume that the maximum length of s is 1000. Example: Example: 阅读全文
posted @ 2017-10-17 16:38
daniel456
阅读(147)
评论(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 @ 2017-10-17 16:27
daniel456
阅读(118)
评论(0)
推荐(0)
摘要:
Initially, there is a Robot at position (0, 0). Given a sequence of its moves, judge if this robot makes a circle, which means it moves back to the or 阅读全文
posted @ 2017-10-17 16:04
daniel456
阅读(116)
评论(0)
推荐(0)
摘要:
You need to construct a string consists of parenthesis and integers from a binary tree with the preorder traversing way. The null node needs to be rep 阅读全文
posted @ 2017-10-17 15:59
daniel456
阅读(147)
评论(0)
推荐(0)
摘要:
Given a string, you need to reverse the order of characters in each word within a sentence while still preserving whitespace and initial word order. E 阅读全文
posted @ 2017-10-17 10:45
daniel456
阅读(149)
评论(0)
推荐(0)
摘要:
You are given a string representing an attendance record for a student. The record only contains the following three characters: 'A' : Absent. 'L' : L 阅读全文
posted @ 2017-10-17 10:42
daniel456
阅读(171)
评论(0)
推荐(0)
摘要:
Given a string and an integer k, you need to reverse the first k characters for every 2k characters counting from the start of the string. If there ar 阅读全文
posted @ 2017-10-17 10:40
daniel456
阅读(114)
评论(0)
推荐(0)
摘要:
Given a group of two strings, you need to find the longest uncommon subsequence of this group of two strings. The longest uncommon subsequence is defi 阅读全文
posted @ 2017-10-17 10:33
daniel456
阅读(97)
评论(0)
推荐(0)

浙公网安备 33010602011771号