r/compsci • u/TopcatTomki • Aug 14 '13
Algorithims Everyone Should Know?
What are some of you're favourite algoritms or concepts that you think everyone should know, whether they solve problems that crop up frequently, or are just beautiful in their construction?
379
Upvotes
View all comments
Show parent comment
3
u/mcvoid1 Aug 14 '13
Agreed. On my test bed, insertion and gnome sort outperform bubble sort on all data sets, even small ones.