tags: algorithms computer-science

Algorithm

An algorithm is a set of elementary instructions.

Algorithms have been with us since the dawn of civilization, but have become a topic of formal academic study only within the past few decades

Describing Algorithms

A complete description of any algorithm has four components:

  1. What: a precise specification of the problem that the algorithm solves
  2. How: a precise description of the algorithm itself
  3. Why: a proof that the algorithm solves the problem it is supposed to solve
  4. How fast: an analysis of the [runtime] of the algorithm

It is not necessary to develop these four components in this particular order.

Aim your descriptions at the right audience: ex. a competent but skeptical programmer who is not as clever as you are

TODO: take more notes

Sources