Question DSA-SORT-0016
HardWhat is the lower bound on the number of comparisons for any comparison-based sorting algorithm in the worst case?
- A.
Ω(n log n)
- B.
Ω(log 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 lower bound on the number of comparisons for any comparison-based sorting algorithm in the worst case?
Ω(n log n)
Ω(log n)
Sign up free to see the answer and a step-by-step explanation.
Ω(n²)
Ω(n)