(index, current_subsets)
| 39 | length = len(nums) |
| 40 | |
| 41 | def makeSubsets(index, current_subsets): |
| 42 | if index == length: |
| 43 | return |
| 44 | |
| 45 | result.append(current_subsets+[nums[index]]) |
| 46 | |
| 47 | makeSubsets(index+1, current_subsets+[nums[index]]) |
| 48 | makeSubsets(index+1, current_subsets) |
| 49 | |
| 50 | |
| 51 | makeSubsets(0, []) |
nothing calls this directly
no outgoing calls
no test coverage detected