Skip to content

Commit a4920c7

Browse files
authored
Update find_peak_element.py
1 parent 71e84a1 commit a4920c7

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

find_peak_element.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 A: An integers list.
@@ -14,4 +14,6 @@ def findPeak(self, A):
1414
ret = i
1515
elif A[i] > A[ret]:
1616
ret = i
17-
return ret
17+
return ret
18+
19+
# medium: http://lintcode.com/zh-cn/problem/find-peak-element/

0 commit comments

Comments
 (0)