3 ms·
Nitpick about the leetcode description of the problem: https://leetcode.com/problems/container-with-most-water/description/ https://leetcode.com/problems/conta
by SilasX 7y ago
Nitpick about the leetcode description of the problem:
https://leetcode.com/problems/container-with-most-water/description/ https://leetcode.com/problems/container-with-most-water/desc...
The way it’s written, the walls are uniformly spaced — located at their corresponding integers in the height array.
But the picture shows them as non-uniformly spaced: the wall to the right of the first red has a bigger separation than all the others.