- 博客(2)
- 资源 (1)
- 收藏
- 关注
原创 Leetcode 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]might become[4,5,6,7,0,1,2]). You are given a target value to search. If found ...
2019-04-08 12:42:45 95
原创 Leetcode 32. Longest Valid Parentheses
Given a string containing just the characters'('and')', find the length of the longest valid (well-formed) parentheses substring. Example 1: Input: "(()" Output: 2 Explanation: The longest valid...
2019-04-08 12:30:55 82
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人