DSA SheetLesson · no judge

CODE DRILL 1 · 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 LSD radix sort for the array [170, 45, 75, 90, 802, 24, 2, 66]. Process the ones, tens, and hundreds places, then print the sorted array in the required format.

C++
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.

Next part · Code drill 2