Skip to content

Latest commit

 

History

History
24 lines (15 loc) · 581 Bytes

README.md

File metadata and controls

24 lines (15 loc) · 581 Bytes

How to solve problems

  1. Don't Panic

  2. Understand the problem:

  • Identify inputs.
  • Identify outputs.
  1. Google if someone has already solved the problem and use it if you can.
  • Skip this step if you're solving problem for learning purpose.
  1. Work out examples.
  • Examples give you test cases.
  1. Develop simple solutions first.

  2. Develop incrementally and test with each increment.

  3. Optimize later.

Source: Udacity - Intro to Computer Science - Lesson 10. Link: https://classroom.udacity.com/courses/cs101/lessons/108111980/concepts/1083254270923