Container With Most Water
CodingPhoneSoftware EngineerReported Mar, 2026
Company question banks are included with the Insider plan.
You are given an integer array heights where heights[i] represents the height of the bar.
You may choose any two bars to form a container. Return the maximum amount of water a container...