#two-pointers
Read more stories on Hashnode
Articles with this tag
Leetcode Problem Given an array of different height values, find the two "banks" that produce the most water valume. Note that water will be limited...
Problem Statement Given a string, find the length of the longest substring, which has all distinct characters. Example: Input:...
Understanding the Problem This problem uses a "sliding window" strategy. Given an array of binary, what is the longest length of consecutive "1"s we...