Cyven's Braindump

Coding steps

来自杜克大学的教程

step1. Do an instance of the problem

step2. Write down what you just did

step3. Generalize your steps

step4. Test your algorithm

step5. Translate your algorithm to code Write function declaration:

  • Parameter types
  • Return types