摘要:
一.SubsetsGiven a set of distinct integers,nums, return all possible subsets.Note:Elements in a subset must be in non-descending order.The solution set... 阅读全文
posted @ 2015-12-06 22:22
zengzy
阅读(188)
评论(0)
推荐(0)
摘要:
A robot is located at the top-left corner of amxngrid (marked 'Start' in the diagram below).The robot can only move either down or right at any point ... 阅读全文
posted @ 2015-12-06 22:19
zengzy
阅读(186)
评论(0)
推荐(0)
摘要:
Given a digit string, return all possible letter combinations that the number could represent.A mapping of digit to letters (just like on the telephon... 阅读全文
posted @ 2015-12-06 22:17
zengzy
阅读(263)
评论(0)
推荐(0)
摘要:
Given a string containing only digits, restore it by returning all possible valid IP address combinations.For example:Given"25525511135",return["255.2... 阅读全文
posted @ 2015-12-06 22:04
zengzy
阅读(253)
评论(0)
推荐(0)
摘要:
一.Roman to IntegerGiven a roman numeral, convert it to an integer.Input is guaranteed to be within the range from 1 to 3999.罗马数字是阿拉伯数字传入之前使用的一种数码。罗马数字... 阅读全文
posted @ 2015-12-06 19:53
zengzy
阅读(199)
评论(0)
推荐(0)
摘要:
Given an input string, reverse the string word by word.For example,Given s = "the sky is blue",return "blue is sky the".Update (2015-02-12):For C prog... 阅读全文
posted @ 2015-12-06 19:02
zengzy
阅读(221)
评论(0)
推荐(0)
摘要:
Implement regular expression matching with support for'.'and'*'.'.' Matches any single character.'*' Matches zero or more of the preceding element.The... 阅读全文
posted @ 2015-12-06 15:53
zengzy
阅读(165)
评论(0)
推荐(0)
浙公网安备 33010602011771号