![](https://img-blog.csdnimg.cn/20201014180756923.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
#SlidingWindow
TechJungle
这个作者很懒,什么都没留下…
展开
-
LeetCode String 32 Longest Valid Parentheses
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 Exp...原创 2019-12-20 11:08:00 · 158 阅读 · 0 评论 -
LeetCode String 76 Minimum Window Substring
76. Minimum Window Substring Given a string S and a string T, find the minimum window in S which will contain all the characters in T in complexity O(n). Example: Input: S = “ADOBECODEBANC”, T = “ABC”...原创 2019-12-19 07:24:51 · 66 阅读 · 0 评论 -
LeetCode Array 217 219 220 Contains Duplicate I II III
217. Contains Duplicate Given an array of integers, find if the array contains any duplicates. Your function should return true if any value appears at least twice in the array, and it should return f...原创 2019-11-16 14:26:40 · 91 阅读 · 0 评论 -
LeetCode Array 11 Container With Most Water
11. Container With Most Water Given n non-negative integers a1, a2, …, an , where each represents a point at coordinate (i, ai). n vertical lines are drawn such that the two endpoints of line i is at ...原创 2019-11-16 14:40:33 · 75 阅读 · 0 评论