摘要:
问题描述Given an absolute path for a file (Unix-style), simplify it.For example,path="/home/", =>"/home"path="/a/./b/../../c/", =>"/c"click to show corner... 阅读全文
posted @ 2015-08-18 15:33
Chapter
阅读(197)
评论(0)
推荐(0)
摘要:
问题描述Given a 2D board containing'X'and'O', capture all regions surrounded by'X'.A region is captured by flipping all'O's into'X's in that surrounded re... 阅读全文
posted @ 2015-08-18 14:50
Chapter
阅读(150)
评论(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 ... 阅读全文
posted @ 2015-08-18 11:32
Chapter
阅读(138)
评论(0)
推荐(0)

浙公网安备 33010602011771号