Skip to content

Instantly share code, notes, and snippets.

@lancepioch
Last active November 3, 2016 07:22
Show Gist options
  • Save lancepioch/6232496 to your computer and use it in GitHub Desktop.
Save lancepioch/6232496 to your computer and use it in GitHub Desktop.
Computer Science Algorithms Everyone Should Know

Source: http://www.reddit.com/r/compsci/comments/1kcal2/algorithims_everyone_should_know/cbnhcbz

Here's a random selection, approximately ordered from most basic to more advanced. I may add more later...

Edit: this is definitely not meant to be an exhaustive list, it's just a random selection of things I use a lot/think are cool.

Numerical:

Data structures:

Sorting & searching arrays:

Tree search:

Graphs:

Automata and parsing:

Numerical optimization:

Combinatorial optimization:

Graphics:

Compilers:

Machine learning:

Cryptography:

Miscellaneous:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment