MSD radix sort should be preferred over LSD radix sort when we have to maintain the original relative order.

Answer: b
Explanation: 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.
 

Tìm kiếm

Back
Top