5 Algorithms Every Programmer Must Know

Photo by Markus Spiske on Unsplash
  1. Binary Search, iterative and recursive implementation. My favorite one.
  2. Bubble Sort. It’s pretty slow and is not used in real projects, so you need just to understand it.
  3. Merge Sort. Teaches efficient, comparison sorting via recursion.
  4. Quick Sort. Teaches efficient in-place sorting.
  5. Depth/Breadth First Search.



Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store



Software Developer, +12 years coding. Bachelors in CompSci.