LeetCode: Container with Most Water
Problem: https://leetcode.com/problems/container-with-most-water/description/ Code: class Solution: def maxArea(self, height: List[int]) -> int: left=0 right=len(height)-1 max_area=0 while left<right: ...
Nov 25, 20251 min read1