Skip to main content
Stepwise
/Sorting/Radix Sort
1 / 8
Speed
ENES
/
Big O NotationRecursionTwo PointersSliding WindowSpace ComplexityWorst-case AnalysisMemoizationGreedy vs DP
StackQueueLinked ListHash TableBinary Search TreeHeapUnion-Find / Disjoint SetsRed-Black Tree
Bubble SortSelection SortInsertion SortQuick SortMerge SortHeap SortCounting SortRadix SortShell SortBucket Sort
Binary SearchLinear SearchJump SearchInterpolation SearchQuickselect / Median Finding
Breadth-First SearchDepth-First SearchDijkstra's AlgorithmPrim's AlgorithmKruskal's MSTTopological Sort
Fibonacci DPKnapsack 0/1Longest Common Subsequence
N-Queens ProblemSudoku SolverMaze Pathfinding
Tower of Hanoi
Sieve of Eratosthenes
45 algorithms·by Sai Rithwik Kukunuri

Radix Sort — Sorting

Whole numbers 1–99, up to 16

170
45
75
90
802
24
2
66
0
1
2
3
4
5
6
7
Step 1:Initial array. Radix Sort will sort digit by digit, from least significant to most significant.
Variables
n==8
max==802
array==[170, 45, 75, 90, 802, 24, 2, 66]