摘要:
待补充。Given a string containing just the characters'('and')', find the length of the longest valid (well-formed) parentheses substring.For"(()", the lon... 阅读全文
posted @ 2015-10-24 18:20
AprilCheny
阅读(154)
评论(0)
推荐(0)
摘要:
Given a stringsconsists of upper/lower-case alphabets and empty space characters' ', return the length of last word in the string.If the last word doe... 阅读全文
posted @ 2015-10-24 18:16
AprilCheny
阅读(189)
评论(0)
推荐(0)
摘要:
The count-and-say sequence is the sequence of integers beginning as follows:1, 11, 21, 1211, 111221, ...1is read off as"one 1"or11.11is read off as"tw... 阅读全文
posted @ 2015-10-24 11:23
AprilCheny
阅读(405)
评论(0)
推荐(0)
摘要:
Compare two version numbersversion1andversion2.Ifversion1>version2return 1, ifversion1 vs1 = split(version1, '.'); vector vs2 = split(version2,... 阅读全文
posted @ 2015-10-24 09:32
AprilCheny
阅读(216)
评论(0)
推荐(0)

浙公网安备 33010602011771号