11. Container With Most Water
Two pointer: start from the beginning and end of array, move forward (backward) on the shorter side.
Last updated
Was this helpful?
Two pointer: start from the beginning and end of array, move forward (backward) on the shorter side.
Last updated
Was this helpful?