Skip to content

Commit 0369836

Browse files
authored
Update combination_sum_ii.py
1 parent fbdde2c commit 0369836

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

combination_sum_ii.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
"""
@@ -29,4 +29,6 @@ def _combinationSum2(self, candidates, comb, i, _sum):
2929
comb.append(candidates[j])
3030
self._combinationSum2(candidates, comb, j + 1, _sum + prev)
3131
comb.pop()
32-
j += 1
32+
j += 1
33+
34+
# medium: http://lintcode.com/zh-cn/problem/combination-sum-ii/

0 commit comments

Comments
 (0)