Programming
Algorithm Breakdown – Container With Most Water
Container With Most Water (Problem #11) on the popular competitive programming site LeetCode [leetcode.com] is called “Container With Most Water.” The question prompt is as follows: “Given n non-negative integers a1, a2, …, an , where each represents a point at coordinate (i, ai). n vertical lines are drawn such that