DSA SheetLesson · no judge

CODE DRILL 2 · RUN ONLY

Write it, run it, read the output

This is a scratch drill — your code runs, nothing is graded or recorded. No test cases, no expected output, no verdict.

TASK

Complete the stable Java LSD radix sort for the array [170, 45, 75, 90, 802, 24, 2, 66]. Process exp values 1, 10, and 100, then print the fully sorted array in brackets with values separated by comma-space.

Java
Loading editor…

OUTPUT

Sample
[2, 24, 45, 66, 75, 90, 170, 802]

What a finished answer prints, from the lesson. Nothing has run yet — press Run and this is replaced by your program’s own output.

Previous · Counting Sort