Quick sort is an efficient sorting algorithm with an average case time complexity of \( O(n \log n) \). This is because, on average, the pivot divides the list in roughly half, resulting in logarithmic recursion depth.
Thus, the average case time complexity is \( O(n \log n) \).
Was this answer helpful?
0
0
Top Questions on Computer Languages and Algorithms