Question DSA-HEAP-0077
HardWhy is heap sort not stable?
- A.
It doesn't compare
- B.
It uses recursion
- 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
Heaps and Priority Queues question
Why is heap sort not stable?
It doesn't compare
It uses recursion
Sign up free to see the answer and a step-by-step explanation.
Sift-downs move equal elements past each other
It is stable