Skip to content

Commit 1cbb8d2

Browse files
authored
Minor formating
1 parent 4d8478c commit 1cbb8d2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sorting/radix_sort.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
""" An implementation of the linear running-time sorting algorithm radix-sort. """
22
__author__ = 'Claus Martinsen'
33

4+
45
def radix_sort(lst, digits):
56
"""
67
Sorts a list of decimal integers in linear running-time by exploiting the
@@ -59,5 +60,4 @@ def counting_sort(lst, lenght, position, base=10):
5960
d = (number // base ** position) % base
6061
count_lst[d] -= 1
6162
out_lst[count_lst[d]] = number
62-
6363
return out_lst

0 commit comments

Comments
 (0)