File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Beginning Java and the fly likes cant get my radix sort working:( Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Groovy Fundamentals video training course this week in the Groovy forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "cant get my radix sort working:(" Watch "cant get my radix sort working:(" New topic

cant get my radix sort working:(

Andrew Hodel

Joined: Apr 04, 2013
Posts: 10
i need to write code to sort an arbitrary number of digits and random values. my code as of now just replaces the first position with the last position!
ive been working at this all day and just cant figure out where its bugging out. please help

Campbell Ritchie

Joined: Oct 13, 2005
Posts: 42590
What is the algorithm for radix sort? Write it down on paper, then convert that to pseudo‑code, before trying to write code.
I agree. Here's the link:
subject: cant get my radix sort working:(