Fundamental Algorithms8 sections · 291 units
Open in CourseQuiz: Bitmask Subsets
Test your understanding
Check Your Understanding
To iterate all subsets of a bitmask , you use: ; while : process(); . Why does this work?
- A.It generates numbers in decreasing order
- B.It uses binary counting
- C. is always a subset of
- D. gives the next smaller subset of