摘要:
Given a string containing just the characters'(',')','{','}','['and']', determine if the input string is valid.The brackets must close in the correct ... 阅读全文
posted @ 2015-08-24 15:06
李小橘er
阅读(188)
评论(0)
推荐(0)
摘要:
Given a roman numeral, convert it to an integer.Input is guaranteed to be within the range from 1 to 3999. 这道题主要要搞清楚Roman变成Integer的算法。 记得如果一个数比前面一个数... 阅读全文
posted @ 2015-08-24 13:53
李小橘er
阅读(167)
评论(0)
推荐(0)
摘要:
After robbing those houses on that street, the thief has found himself a new place for his thievery so that he will not get too much attention. This t... 阅读全文
posted @ 2015-08-24 11:32
李小橘er
阅读(185)
评论(0)
推荐(0)
摘要:
You are a professional robber planning to rob houses along a street. Each house has a certain amount of money stashed, the only constraint stopping yo... 阅读全文
posted @ 2015-08-24 10:30
李小橘er
阅读(255)
评论(0)
推荐(0)
摘要:
Given an array containingndistinct numbers taken from0, 1, 2, ..., n, find the one that is missing from the array.For example,Givennums=[0, 1, 3]retur... 阅读全文
posted @ 2015-08-24 09:40
李小橘er
阅读(317)
评论(0)
推荐(0)
浙公网安备 33010602011771号