Question DSA-TC-116
EasyWhat is the worst-case time complexity of standard QuickSort algorithm when selecting the last element as the pivot?
- A.
O(N 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
Complexity Analysis question
What is the worst-case time complexity of standard QuickSort algorithm when selecting the last element as the pivot?
O(N log N)
O(N)
Sign up free to see the answer and a step-by-step explanation.
O(N^2)
O(log N)