+ 2

Can anybody help me with Radix Sort?

I want a bit of help with Radix Sort using Java preferably.. Also I want the program to count the number of comparisons(iterations)

4th Jan 2020, 8:55 AM
Aditya
Aditya - avatar
6 Answers
+ 6
it's not my homework.... its in my ciriculuum.... 😞
5th Jan 2020, 2:45 AM
Aditya
Aditya - avatar
+ 3
I thought I clearly specified JAVA 😞
4th Jan 2020, 2:39 PM
Aditya
Aditya - avatar
+ 3
I needed to know implementation of Radix Sort using JAVA which also counts the number of comparisons
5th Jan 2020, 1:17 PM
Aditya
Aditya - avatar
+ 2
There are multiple variants of radix sort (msd, lsd) You can check a python implementation in this old code of mine. Otherwise let me know where you are stuck and I might be able to help with Java too. https://code.sololearn.com/cDT8ZI7T06of/?ref=app
4th Jan 2020, 9:14 AM
Tibor Santa
Tibor Santa - avatar
+ 2
You clearly wrote "preferably" :) Anyway you can discern the essence of the algorithm from my code, if you really want to, there are plenty of comments in there. Or you can explain which part of the problem gives you a hard time, and post your own attempt at it, so that you can get some real help. Don't expect that someone else will solve your homework. Happy coding! ;)
4th Jan 2020, 3:15 PM
Tibor Santa
Tibor Santa - avatar
+ 1
OK, but in 24 hours when you posted this thread, you still haven't asked an actual question yet. What do you need to know, to get started?
5th Jan 2020, 8:05 AM
Tibor Santa
Tibor Santa - avatar