InterviewSolution
Saved Bookmarks
| 1. |
What is the worst case time complexity of bogosort?(a) O(n^2)(b) O(n*n!)(c) O(infinity)(d) O(n log n)This question was addressed to me in an interview for internship.My doubt is from Sorting in division Sorting of Data Structures & Algorithms II |
|
Answer» The correct option is (c) O(infinity) |
|