The biggest mistake we see candidates make is not approaching the problem properly.
If I see you perform the following steps well, I will advocate to hire you. And most interviewers will too.
1. Write
Examples and Clarify the Question: You need to write examples, and in the process, ask questions that unearth the actual problem the interviewer wants you to solve.
2. Come up withSolutions: Come up with solutions and explain them to the interviewer, and once the interviewer seems to settle on one,write down simple steps, not more than a few lines.Doing this makes it clear(to both of you) what you will code for the rest of the interview
3. Write downTest cases: When an interviewer sees you do this, they know you are legit. Quickly jot down key test cases.
4. WriteCode: Write the actual code. Make liberal use of helper functions
5.Verify code and test cases: Once you are done, make sure you step through the code and make sure it w