2014年10月22日
摘要: Given a string containing just the characters'('and')', find the length of the longest valid (well-formed) parentheses substring.For"(()", the longest... 阅读全文
posted @ 2014-10-22 23:11 higerzhang 阅读(250) 评论(0) 推荐(0)
摘要: problem:Implement next permutation, which rearranges numbers into the lexicographically next greater permutation of numbers.If such arrangement is not... 阅读全文
posted @ 2014-10-22 00:28 higerzhang 阅读(191) 评论(0) 推荐(0)