Skip to content

Commit 7d7f1e7

Browse files
authored
Update container_with_most_water.py
1 parent fc33cbd commit 7d7f1e7

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

container_with_most_water.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# -*- coding: utf-8 -*-
1+
# coding: utf-8
22

33
class Solution:
44
# @param heights: a list of integers
@@ -23,4 +23,6 @@ def maxArea(self, heights):
2323
while (pos <= end) and (heights[pos] <= heights[begin]):
2424
pos += 1
2525
begin = pos
26-
return ret
26+
return ret
27+
28+
# medium: http://lintcode.com/zh-cn/problem/container-with-most-water/

0 commit comments

Comments
 (0)