Share your repls and programming experiences

← Back to all posts
Arranging numbers - the best algorithm - must see!
LegendaryWolf (687)

Heyo guys! This an algorithm that arranges the numbers you typed in ascending order.

This is better than @rafrafraf's program (sorry for da ping)

OKie, bai!

upvote if you like
ch1ck3n (1629)

But it is one line?

IMayBeMe (344)

Your program is good but I would recommend fully writing out the algorithm for Tim Sort which is the algorithm that the sort() function uses. Also when using larger data sets Quick sort is faster and more effective so maybe look into that. Also, this is low effort as you literally used an inbuilt function.