Arranging numbers - the best algorithm - must see!
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
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.
But it is one line?