Solved

The Iterative and Recursive Algorithms Used to Compute a Factorial

Question 25

Multiple Choice

The iterative and recursive algorithms used to compute a factorial value are O(__________) , because the number of loop repetitions or recursive calls increases linearly with n.


A) 1
B) log2 n
C) n
D) n log2n

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions