What's you favorite algorithm?

Posted by Helper Method on Stack Overflow See other posts from Stack Overflow or by Helper Method
Published on 2010-05-29T17:50:18Z Indexed on 2010/05/29 17:52 UTC
Read the original article Hit count: 442

Which algorithm do you like best and why?

My favorite algorithm is Insertion Sort. Easy to understand, fast for small arrays, and useful to speed up more complex sorting algorithms (Merge Sort, Quicksort).

© Stack Overflow or respective owner

Related posts about algorithm

Related posts about language-agnostic