Get the tools you need to learn Java skills fast!
Video tutorials, eBooks, hands-on lab exercises, sample code.
Get started
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 Badass: Making Users Awesome this week in the Game Development 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: 41531
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:(