← ALL NOTES
Array

78. Subsets

A subset is a yes/no choice per element, and the power set is all 2ⁿ of them. The one structural difference from fixed-size combinations: you record every node of the recursion tree, not just the…

Loading…