Question DSA-SORT-0030
EasyWhat is the average-case time complexity of quick sort?
- A.
O(log n)
- B.
O(n²)
- C.
Sign up free to see the answer and a step-by-step explanation.
Popular companies
Prepare company by company
Hiring pattern, syllabus, past questions and mocks for each company.
All companiesPractice by subject
Sorting question
What is the average-case time complexity of quick sort?
O(log n)
O(n²)
Sign up free to see the answer and a step-by-step explanation.
O(n)
O(n log n)