What is the time complexity of Quick Sort?
Q1. What is the time complexity of Quick Sort?
Answer: O(n log n)
Explanation: Quick Sort has an average-case time complexity of O(n log n) due to its divide-and-conquer approach, making it efficient for large datasets.