Algorithms

An algorithm is a sequence of instructions for doing something. By writing out an algorithm in a formal manner, we can reason about it.

Begin

Proof

We can sometimes prove mathematically that an algorithm will give us the answer we expect.

Reusable

The same algorithm can be written in different programming langauges, allowing good ideas to be reused.

Efficiency

Asymptotic Complexity allows us to compare how efficient an different algorithms are, even if they run on different hardware.