...

/

Container with Most Water

Container with Most Water

Try to solve the Container with Most Water problem.

Statement

You’re given an integer array height of length nn, and there are nn vertical lines drawn such that the two endpoints of the ithi^{th} ...