Zac Anger's Blog

Solving programming problems

2016-02-10

Tags: problem-solving


Basic steps of solving programming problems:

  1. Find the input.
  2. Find the output.
  3. Figure out how you need to transform the input to the output in plain English.
  4. Translate this into your chosen programming language.
  5. Run the code (in your head, or on a machine).
  6. If the output isn't what you expected, start over with step three.