We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3a537d5 commit 797b86bCopy full SHA for 797b86b
container-with-most-water/nhistory.js
@@ -2,7 +2,7 @@ var maxArea = function (height) {
2
// Two pointer: left and right
3
// Amount of water: math.Min(height[left], height[right]) * (right-left)
4
5
- // Eception case
+ // Exception case
6
if (height.length === 0) return 0;
7
8
let left = 0;
0 commit comments