r/compsci • • 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?

383 Upvotes

118 comments sorted by

View all comments

Show parent comment

2

u/[deleted] Aug 17 '13

I am curious as well, as even the bubble sort wiki page submits to insertion sort being more efficient in this context.