Best way to practice whiteboard coding?
Hey All
So for my last onsite, I was lucky enough to get some actual feedback about my performance. The interviewers said that my communication skills for explaining my thought process and why I chose the DS/algos I did to solve the problem were really good.
However, they said that I seemed to have trouble implementing code fast and well enough to convert my ideas to code. I've decided to buy a whiteboard to practice coding at home, but I feel that one of the main reasons I seem to brain fart writing code is because I'm nervous and have to explain my steps as I go along.
Other than just writing code often to get used to writing code to solve Leetcode questions on the spot and on the whiteboard, does anyone have any resources or ideas on the best way to practice this part of the interview?
Thanks!
Posted Jan 31, 2017, 8:33 PM UTC
Just do LeetCode without using an IDE or looking at solutions unless you're really stuck. You need a firm grasp of the language's syntax in order to implement the data structures and algorithms.
I have a pretty firm grasp, I'm just bad about making changes mid stream and then implementing the improvement. I make mistakes making the change or lose my place and I think it makes me look flustered and it wastes time. I think I just need to practice so I work more efficiently and make less mistakes.
Thanks for the advice!