Coding Global Background
Coding Global

Radix-Sort which works with str(numbers) got problem with uneven elements

Archived 3 years ago
1 messages
0 members
3 years ago
Open in Discord
A
AquaMaker

So i need to implement an radix sort function with works with str numbers inside my list, so i thought myself i get myself the max digits of the biggest number of my list and just do the basic radic sort only with the change that i work with string indices, my function works but only for numbers in the same length like l = [100,356,200,605], i got some probems with lists like this l = [5,70,230,2,10]

Replies (1)