GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — leetcode-1/algorithms/python/Subsets/subsets.py at master · mtangm/leetcode-1 Expand file tree/ Copy pathsubsets.pyMore file actions 12 lines (10 loc) · 285 Bytes / Copy pathsubsets.pyFile metadata and controls12 lines (10 loc) · 285 Bytes 1 2 3 4 5 6 7 8 9 10 11 12 def subsets(self, nums): res = [] def backtracking(temp, start): res.append(temp[:]) for i in range(start, len(nums)): temp.append(nums[i]) backtracking(temp, i + 1) temp.pop() backtracking([], 0) return res |
| You are visitor 01402792 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |