Solving The "Container with Most Water" Problem in TypeScript
Oct 2, 2023 · 5 min read · Background The Two-Pointer Pattern This is a method that is usually used to solve algorithm questions involving arrays where you usually need to find two or more elements of said array that satisfy some condition. This method is so named because two ...
Join discussion
