Container With Most Water
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...
jimboslice.hashnode.dev1 min read