Skip to content

Commit a26370a

Browse files
authored
Update delete_digits.py
1 parent 028bf77 commit a26370a

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

delete_digits.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
"""
@@ -32,4 +32,6 @@ def _min(self, A, start, k): # 找到A[start:len(A) - k]里最小书的索引
3232
for i in xrange(start + 1, len(A) - k + 1):
3333
if A[i] < A[min_index]:
3434
min_index = i
35-
return min_index
35+
return min_index
36+
37+
# medium: http://lintcode.com/zh-cn/problem/delete-digits/

0 commit comments

Comments
 (0)