PayPal interview question

Container with Max Water using Two Pointer Approach