[prev] 55 [next]

Assignment Tips

Test your program thoroughly
  • Just passing the dryrun-tests is not enough
  • Try to break your program with your own test cases
If you want to learn more about debugging (30-minute video)


Do not forget to add time complexity O(…) depending on n
  • with proper explanation
Style requirements include
  • readability    e.g. consistent indentation, avoid "magic numbers"
  • structured code
  • good commenting