1 parent 84b1415 commit 321d492Copy full SHA for 321d492
1 file changed
algorithms/sort/radix_sort.py
@@ -10,7 +10,7 @@ def radix_sort(arr, simulation=False):
10
if simulation:
11
print("iteration", iteration, ":", *arr)
12
13
- while position < max_number:
+ while position <= max_number:
14
queue_list = [list() for _ in range(10)]
15
16
for num in arr:
0 commit comments