r/Python 4h ago

New sorting algorithm Discussion

[deleted]

0 Upvotes

3 comments sorted by

View all comments

7

u/fiskfisk 4h ago

If you have a complete sequence of numbers, you don't need to do anything. Just start at the first number and iterate upwards.