#8 Session 7: Hash Maps / Increase your coding speed
1 min readOct 31, 2019
Notes from Facebook’s ABCS Programme.
Remember, aim to solve 2 problems in a 45 minute interview
If you’re not at your most comfortable pace yet, that’s okay. There are multiple ways to increase your coding speed.
How to increase your coding speed
Practice:
- Deepen your understanding of your programming language
- Write more code
- The more practice you get, the faster you’ll get with implementation, getting your code right, or avoiding trivial / or non-trivial bugs
- After solving the problem once, try solving it a different way
Try to write code with fewer lines
- Find the source code to projects and frameworks you already use, and read the source to see how it was written and the choices made
- Figure out what is minimum viable code and try solving problems with the least amount of code possible.
- Challenge yourself to solve the problem again in 50% fewer lines of code.
- Think first, code second.
- Practice while tracking your time.