How does a radix sort algorithm work using any given base without converting the numbers to decimal?
Fantastic news! We've Found the answer you've been seeking!
Question:
How does a radix sort algorithm work using any given base without converting the numbers to decimal?
For example: A = [12,42,11,65,3,2] base 10
and B = [12,42,11,65,3,2] base 2
I have a function radix(aList,b)
How does the radix sort work for these 2 list: radix(A,10) and radix(B,2)?
Related Book For
Introduction to Algorithms
ISBN: 978-0262033848
3rd edition
Authors: Thomas H. Cormen, Charles E. Leiserson, Ronald L. Rivest
Posted Date: