Sliding Window
Problems LeetCode 3. Longest Substring Without Repeating Characters LeetCode 209. Minimum Size Subarray Sum LeetCode 15. 3Sum LeetCode 30. Substring...
Problems LeetCode 3. Longest Substring Without Repeating Characters LeetCode 209. Minimum Size Subarray Sum LeetCode 15. 3Sum LeetCode 30. Substring...
Question ``` Given a string s, find the length of the longest substring without repeating characters.
Question ``` Given an array of positive integers nums and a positive integer target, return the minimal length of a subarray whose sum is greater than or eq...
```java class Solution { public List<List> threeSum(int[] nums) { Arrays.sort(nums); //nlogn List<List> result = new ArrayLis...
Question ``` Given a 1-indexed array of integers numbers that is already sorted in non-decreasing order, find two numbers such that they add up to a specifi...