Saturday, August 24, 2019

Key components for coding interviews

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:
  1. Communication 
a.      Ask clarifying questions
b.      Gather requirements (if necessary)
c.       Show the interviewer you understand the problem
  1. A. Critical Thinking
    1. Be vocal, discuss your solution or method before coding (this will help you identify any gaps in the process)
    2. (If applicable) Discuss multiple solutions and alternative methods to solve
B. Problem Solving
    1. Use of appropriate data structures
    2. Optimize and speak about space and time complexity 
  1. Coding 
    1. Cleanliness of code; and is it executable
    2. Organization of code and capturing right logical structure
  1. Verification 
    1. Go back and test your code!
    2. Consider test cases to prove your code is correct
    3. If you have bugs, step through your own logic to identify them and explain what the code is doing

No comments:

Post a Comment