摘要:
Given a sorted integer array without duplicates, return the summary of its ranges.For example, given[0,1,2,4,5,7], return["0->2","4->5","7"].Credits:S... 阅读全文
posted @ 2016-01-09 16:13
sdlwlxf
阅读(129)
评论(0)
推荐(0)
摘要:
Validate if a given string is numeric.Some examples:"0"=>true" 0.1 "=>true"abc"=>false"1 a"=>false"2e10"=>trueNote:It is intended for the problem stat... 阅读全文
posted @ 2016-01-09 13:45
sdlwlxf
阅读(137)
评论(0)
推荐(0)
摘要:
Implementatoito convert a string to an integer.Hint:Carefully consider all possible input cases. If you want a challenge, please do not see below and ... 阅读全文
posted @ 2016-01-09 13:16
sdlwlxf
阅读(181)
评论(0)
推荐(0)