1.

Which of the following is a combination of LSD and MSD radix sorts?(a) Forward radix sort(b) 3-way radix quick sort(c) Trie base radix sort(d) Flash sortThe question was posed to me in a job interview.My question is from Sorting topic in division Sorting of Data Structures & Algorithms II

Answer»

Right answer is (a) FORWARD radix sort

Easy explanation - Forward radix sort COMBINES the advantages of LSD and MSD radix sort. Forward radix sort INSPECTS a COMPLETE horizontal strip at a time just like LSD radix sort.



Discussion

No Comment Found

Related InterviewSolutions