(a) Explain a situation where it is better to use Counting Sort rather than Merge Sort to...
Fantastic news! We've Found the answer you've been seeking!
Question:
(a) Explain a situation where it is better to use Counting Sort rather than Merge Sort to sort an array in ascending order.
(b) Explain a situation where it is better to use Merge Sort rather than Counting Sort to sort an array in ascending order.
Related Book For
Introduction to Algorithms
ISBN: 978-0262033848
3rd edition
Authors: Thomas H. Cormen, Charles E. Leiserson, Ronald L. Rivest
Posted Date: