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
Use lintCode to test coding style
No comments:
Post a Comment