mediumDSA
Container With Most Water
Find two lines that together with x-axis forms container with max water.
Ensure function signatures match starter code to run test cases.
index.js
Loading...
Test Case #1
Input: [1,8,6,2,5,4,8,3,7]
Expected: 49
Test Case #1
Input: [1,8,6,2,5,4,8,3,7]
Expected: 49