摘要: 33. Search in Rotated Sorted Array Suppose an array sorted in ascending order is rotated at some pivot unknown to you beforehand. (i.e., 0 1 2 4 5 6 7 阅读全文
posted @ 2017-10-21 16:22 hdu胡恩超 阅读(191) 评论(0) 推荐(0)
摘要: 32. Longest Valid Parentheses Given a string containing just the characters '(' and ')', find the length of the longest valid (well-formed) parenthese 阅读全文
posted @ 2017-10-21 11:35 hdu胡恩超 阅读(166) 评论(0) 推荐(0)