Container With Most Water Visualizer & Step-by-Step Algorithm Solution
Find two lines that together with the x-axis form a container containing the most water using an optimal O(n) two-pointer inward scan.
Category: arrays | Difficulty: Medium
Tags: Two Pointers, Array, Greedy, Graph, LeetCode 11
