File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "cant get my radix sort working:(" Watch "cant get my radix sort working:(" New topic
Author

cant get my radix sort working:(

Andrew Hodel
Greenhorn

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
Sheriff

Joined: Oct 13, 2005
Posts: 38865
    
  23
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: http://aspose.com/file-tools
 
subject: cant get my radix sort working:(