Wednesday, August 16, 2017

[Leetcode] How to practice Leetcode

BUG FREE / CODING STYLE

Blog them.
Whenever you submit a solution, document what is the mistake and try to remember common mistakes
When you do a new problem, see if you make same mistake again. Document old and new mistakes until bug free
Summarize your approach with one sentence

Always check Nullness/Length/IndexOutOfBounds

Use memory curve

Practice by tags

Use lintCode to test coding style







No comments:

Post a Comment