Skip to content

Commit fbdde2c

Browse files
authored
Update combinations.py
1 parent 4ca9300 commit fbdde2c

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

combinations.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
"""
@@ -31,4 +31,6 @@ def dfs(self, list, pos, k):
3131
new_comb = [list[i]]
3232
new_comb.extend(comb)
3333
ret.append(new_comb)
34-
return ret
34+
return ret
35+
36+
# medium: http://lintcode.com/zh-cn/problem/combinations/

0 commit comments

Comments
 (0)