I am trying to sort strings in Java using MSD radix sort algorithm. But I am finding it very hard to implement.
I tried searching on stack overflow for interpretation of algorithm in java, but I couldn’t find a post that answers everything that I need to know to code it.
I found most codes for numbers and not strings, and that also made it difficult to understand for me.
I am trying to sort a list of lowercase letters words in non-decreasing alphabetic order.
Example: [cat, monkey, dog, doe]
Sorted: [cat, doe, dog, monkey]
Due to difficulty in understanding, I couldn’t code anything.
I would appreciate any help.
I am trying to implement it as algorithm