Java icon indicating copy to clipboard operation
Java copied to clipboard

Added Radix Sort in Java Programming

Open pareshapraj opened this issue 3 years ago • 2 comments

Radix Sort in Java Programming

Radix sort is a sorting algorithm that sorts the elements by first grouping the individual digits of the same place value. Then, sort the elements according to their increasing/decreasing order.

Suppose, we have an array of 8 elements. First, we will sort elements based on the value of the unit place. Then, we will sort elements based on the value of the tenth place. This process goes on until the last significant place.

pareshapraj avatar Oct 17 '22 16:10 pareshapraj

@pareshapraj RadixSort.java is already present inside src/main/java/com/thealgorithms/sorts/RadixSort.java. you have put it inside the test package where it does not belong.

debasishbsws avatar Oct 20 '22 06:10 debasishbsws

But you can write test cases for Radix Sort inside src/test/java/com/thealgorithms/sorts/ make the file name RadixSortTest.java and put tests inside it. you can refer to other files present in that package for reference.

debasishbsws avatar Oct 20 '22 06:10 debasishbsws

This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

github-actions[bot] avatar Dec 15 '22 00:12 github-actions[bot]

Please reopen this pull request once you commit the changes requested or make improvements on the code. If this is not the case and you need some help, feel free to seek help from our Gitter or ping one of the reviewers. Thank you for your contributions!

github-actions[bot] avatar Dec 23 '22 00:12 github-actions[bot]