RingCentral interview question

Leetcode 11: Container with most water