Fundamental Algorithms8 sections · 291 units
Open in CourseQuiz: Permutation Patterns
Test your understanding
Check Your Understanding
When generating permutations, what's the purpose of the 'used' array?
- A.To track which elements are already in the current permutation
- B.To track which positions are filled
- C.To count the number of permutations
- D.To store intermediate results