Comp Sci Computer Science - LSD Radix Sort in Java

AI Thread Summary
The discussion focuses on implementing LSD Radix Sort in Java, specifically for sorting an array of integers using an array of ArrayLists as buckets. The user seeks straightforward pseudo-code to guide their coding process, expressing frustration with overly complex examples found online. They emphasize the need for simplicity, noting that while helper methods are permitted, they are not required. Ultimately, the user indicates they have resolved their issue independently.
RyMi
Messages
7
Reaction score
0
Title kind of explains what I'm trying to do here. I know exactly how radix sort is SUPPOSED to work but I just don't have a clue how to go about coding it.

Basically what I am asking for is some java based pseudo-code just to get me in the right direction.

I'm specifically sorting an array of Integers and using an array of ArrayLists as my 'buckets'.

I've searched all over the Internet but I just can't find anything that is what I need. It's always either way too complicated with separate classes or 5 or more helper methods or the pseudo-code is too vague to really give me an idea of how to go about coding it.

We are allowed to use helper methods but we were told that we don't NEED one and to not make it too complicated.

The only thing passed to the method is the array itself.

Thanks in advanced.
 
Physics news on Phys.org
figured it out
 

Similar threads

Replies
1
Views
1K
Replies
1
Views
1K
Replies
1
Views
1K
Replies
7
Views
2K
Replies
1
Views
2K
Replies
5
Views
3K
Replies
10
Views
11K
Replies
5
Views
2K
Back
Top