Articles in this series
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...
๐ Leetcode Problem Koko Eating Bananas is a binary search problem where we help Koko determine how many bananas Koko needs to eat if Koko were to eat...
Link to Problem Description: given an array of numbers, return all unique triplets that add up to 0 Pseudocode Sort the array Declare an empty array...
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...
Leetcode Arrays ยท Problem Statement Given an array of non-decreasing numbers, return a sorted, non-increasing array of each number's squared value in...