5 lines
135 B
Objective-C
5 lines
135 B
Objective-C
powerset({{1,2},3})
|
|
|
|
ans =
|
|
|
|
{1x0 cell} {1x1 cell} {1x1 cell} {1x2 cell} %This is the same as { {},{{1,2}},{3},{{1,2},3} }
|