- Read the coding problem
- Clarify the problem
- like if the input is valid
- could be empty pointer
- corner case
- Think out the idea.
- If cannot, talk with interviewer with your thought
- Talk out your ideas.
- If come up with multiple ideas, talk all of them and compare the difference. Do not wait for interviewer ask you if you know something
- Do the time complexity and space complexity analyze
- Write the code
- When dealing with some details like index of the array whether needed plus 1 or -1, do not try to first write something then modify it. Correct it at the first time
- Communicate with interviewer but do not suspend writing
- Write test case
- Do not write some test case without any thinking
- Normal case and corner case
- Hope can have any follow up questions
My Blog List
Coding Interview Procedure
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment
Enter you comment