Anvilogic interview question

Leetcode - Container with most water