Skip to content

Commit 797b86b

Browse files
committed
Typo error
1 parent 3a537d5 commit 797b86b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

container-with-most-water/nhistory.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ var maxArea = function (height) {
22
// Two pointer: left and right
33
// Amount of water: math.Min(height[left], height[right]) * (right-left)
44

5-
// Eception case
5+
// Exception case
66
if (height.length === 0) return 0;
77

88
let left = 0;

0 commit comments

Comments
 (0)