DSA DAY#5 : Contains Most Water
Nov 11, 2025 · 1 min read · #Problem statment:You are given an integer array heights where heights[i] represents the height of the ithith bar. You may choose any two bars to form a container. Return the maximum amount of water a container can store. # Clarify Requirement: Can ...
Join discussion