InterviewSolution
Saved Bookmarks
| 1. |
The time complexity of the solution tower of hanoi problem using recursion is _________(a) O(n^2)(b) O(2^n)(c) O(n log n)(d) O(n)I got this question at a job interview.The above asked question is from Recursion in division Recursion of Data Structures & Algorithms II |
|
Answer» The correct answer is (b) O(2^n) |
|