N Ngọc Hùng Member Sep 21, 2021 #1 What is the worst case time complexity of recursive insertion sort? A. O B. O(n log n) C. O(n$^{2}$) D. O(log n)
What is the worst case time complexity of recursive insertion sort? A. O B. O(n log n) C. O(n$^{2}$) D. O(log n)
T Thành Nguyễn New member Sep 21, 2021 #2 Answer: c Explanation: The overall recurrence relation of recursive insertion sort is given by T = T(n-1) + n. It is found to be equal to O(n$^{2}$). Upvote 0 Downvote
Answer: c Explanation: The overall recurrence relation of recursive insertion sort is given by T = T(n-1) + n. It is found to be equal to O(n$^{2}$).