Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit f36381c

Browse files
kalouotrekhleb
authored andcommittedMar 22, 2019
adds note explaining origin of the name 'radix sort' (trekhleb#293)
1 parent 43e1cca commit f36381c

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed
 

‎src/algorithms/sorting/radix-sort/README.md

+7
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,13 @@ is required, but because integers can represent strings of characters
77
(e.g., names or dates) and specially formatted floating point numbers, radix
88
sort is not limited to integers.
99

10+
*Where does the name come from?*
11+
12+
In numeral systems, the word **radix** represents how many digits are possible.
13+
For example, a binary system (using numbers 0 and 1) has a radix of 2 and a decimal
14+
system (using numbers 0 to 9) has a radix of 10.
15+
16+
1017
## Efficiency
1118

1219
The topic of the efficiency of radix sort compared to other sorting algorithms is

0 commit comments

Comments
 (0)
Please sign in to comment.