LeetCode 11: Container With Most Water — Step-by-Step Visual Trace
📰 Dev.to · tracelit
Given an array of heights representing vertical lines, find two lines that together with the x-axis form a container that can hold the most water.
Given an array of heights representing vertical lines, find two lines that together with the x-axis form a container that can hold the most water.