Skip to content

Commit c53bd78

Browse files
authored
Update flatten_list.py
1 parent 3fc08d4 commit c53bd78

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

flatten_list.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(object):
44

@@ -18,4 +18,6 @@ def _flatten(self, _list, nestedList):
1818
self._flatten(_list, i)
1919
else:
2020
_list.append(i)
21-
return _list
21+
return _list
22+
23+
# easy: http://lintcode.com/problem/flatten-list

0 commit comments

Comments
 (0)