1.

MSD radix sort should be preferred over LSD radix sort when we have to maintain the original relative order.(a) True(b) FalseI had been asked this question in a job interview.My doubt is from Sorting in section Sorting of Data Structures & Algorithms II

Answer»

Right choice is (B) False

The EXPLANATION is: MSD radix sort is not a stable sort WHEREAS LSD radix sort is stable. So when we REQUIRE to preserve the original order then in that case we should prefer LSD radix sort.



Discussion

No Comment Found

Related InterviewSolutions