InterviewSolution
Saved Bookmarks
| 1. |
What is the time complexity of Heap’s algorithm?(a) O(n log n)(b) O(n^2)(c) O(n*n!)(d) O(n!)This question was posed to me by my college professor while I was bunking the class.My question is taken from Number Theory in portion Number Theory of Data Structures & Algorithms II |
|
Answer» Right OPTION is (d) O(N!) |
|