Container With Most Water
May 6, 2024 路 1 min read 路 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 by the lowest bank. This is a two-pointer problem. Pseudocode Declare a left and right pointer, as w...
Join discussion



