Deep Dive

Subsets (Backtracking)

78. Subsets · Backtracking · 45 of 78

1/13

Every subset

{}{1}{}{1,2}{1}{2}{}{1,2,3}{1,2}{1,3}{1}{2,3}{2}{3}{}
In this lessonStep 1 of 13 · ← → keys
The question

Return all possible subsets of a list of distinct numbers.