Algorithms

Algorithms + Data Structures = Programs

Bad programmers worry about the code. Good programmers worry about data structures and their relationships.

—Linus Torvalds

How to solve it

  1. Understand the problem: input, output, condition
  2. Devise a plan
  3. Carry out the plan
  4. Look back