Data Structure – codewindow.in
Related Topics Data Structure Question 251 What is the time complexity of merge sort and quick sort? Answer The time complexity of merge sort and quick sort are both O(n log n) in the average and worst cases. Merge sort has a guaranteed worst-case time complexity of O(n log n), as it divides the array […]