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?
384
Upvotes
View all comments
Show parent comment
1
u/eek04 Aug 15 '13
Unlikely. It's almost always faster to use insertion sort. See bubble sort and insertion sort on wikipedia.