3 ms·
If they specifically asked for "powerset" that might be considered a gotcha question, but a powerset is another way of thinking of binary enumeration[0], which
by acrefoot 11y ago
If they specifically asked for "powerset" that might be considered a gotcha question, but a powerset is another way of thinking of binary enumeration[0], which isn't that rare.
[0] by that I mean both the case of counting in binary, as well as enumerating all the ways you can have or not have some things--you might care about that when considering all the interactions of config flags you might have to deal with.
- dmead 11y agothis is exactly the case. had i just remember what a power set was instead of say something dumb like "all the n-k combination of these children something someting" it would have gone much better. and yes, it was a hard tree question.