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?

381 Upvotes

118 comments sorted by

View all comments

Show parent comment

11

u/[deleted] Aug 14 '13

How is it more advantageous than insertion sort in that case?

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.