Container With Most Water - Greedy Choice

Start with pointers at both ends (maximum width). The only way to potentially increase area is to find a taller line.

1.1. Compute area with current pointers.

2.2. Move the pointer pointing to the shorter line inward.

3.3. The key insight: moving the taller line can never help. The area is limited by the shorter line, and width decreases.

This greedy choice is provably optimal.