Skip to content
Medium-Easy Remember Recursion & Backtracking Multiple Choice

Time complexity of generating all permutations of n distinct elements?

Remember — Tests recall of fundamental facts and definitions.

Answer Options

A O(n!)
B O(n * n!)
C O(2^n)
D O(n²)

Want to see the correct answer?

Get the answer with a detailed explanation, plus practice 32+ more Recursion & Backtracking questions with adaptive quizzes and timed interviews.

See the Answer on Guru Sishya →

This question is from the Recursion & Backtracking topic (Algorithms).

More Recursion & Backtracking Questions