August 24, 2019
Introduction
It is so important for me to learn lessons since I wrote bugs in my own code. Rotated sorted array, I practiced over 10 times, and I wrote various solutions. I was told to test the code, but I did not pay attention to the detail onsite. I documented my experience here.
Key components for coding interviews
KEY COMPONENTS for coding interviews:
- Communication
a. Ask clarifying questions
b. Gather requirements (if necessary)
c. Show the interviewer you understand the problem
- A. Critical Thinking
- Be vocal, discuss your solution or method before coding (this will help you identify any gaps in the process)
- (If applicable) Discuss multiple solutions and alternative methods to solve
B. Problem Solving
- Use of appropriate data structures
- Optimize and speak about space and time complexity
- Coding
- Cleanliness of code; and is it executable
- Organization of code and capturing right logical structure
- Verification
- Go back and test your code!
- Consider test cases to prove your code is correct
- If you have bugs, step through your own logic to identify them and explain what the code is doing
No comments:
Post a Comment