Quiz: Enumeration

Test your understanding

Check Your Understanding

To enumerate all permutations of nn elements, what's the time complexity?

  1. A.O(n2)O(n^2)
  2. B.O(nn)O(n^n)
  3. C.O(2n)O(2^n)
  4. D.O(n!)O(n!) since there are n!n! permutations
Start the roadmap to answer the quizzes and solve the challenges