One of my biggest challenges of doing a successful whiteboard coding interview is that I don't practice writing algorithms that are asked during interview (For example, reversing a LinkedList, checking if Binary Tree is balanced, etc..) on my day-to-day tasks. Just like other skills, if we are not practicing, they will get rusty.
Over the past several years, I have had several coding interviews. After each interview, regardless of the outcome, I wrote down the interview questions and practiced them again when I got a chance.
Some example questions include
- How do find common numbers between two arrays of numbers?
- Write a function to capitalize each word in a sentence except a, the, to, at, in, with, and but, or ?
- Write a function to check if a string is unique? (i.e no duplicate character)
- Testing with Mocha library, Unit Test for Python
- Each question is accompanied by instruction and example
- Organized and reusable code
- Clone the repo, then
npm installall dependencies
npm run test-pto run Python test cases
- If you just want read more about it, please go to: Coding_Interview
- If you would like to contribute, please submit a PR. I appreciate.