Achievers interview question

Leetcode #11, container with most water