1.

Heap sort is faster than Shell sort.(a) true(b) falseThe question was posed to me during an interview.Question is taken from Heapsort topic in section Sorting of Data Structures & Algorithms II

Answer»

Correct option is (B) false

Best EXPLANATION: HEAP sort is slower than Shell sort because Shell sort uses Sedgewick’s increment sequence.



Discussion

No Comment Found

Related InterviewSolutions