Practice
Learn
← Quit
0 / 0 correct
Algorithms
Hard
1 of 10
What's the time complexity of generating all permutations of n distinct elements?
A
O(n^2)
B
O(2^n)
C
O(n · n!)
D
O(n log n)