Please enable JavaScript.
Coggle requires JavaScript to display documents.
Coding interview criterias - Coggle Diagram
Coding interview criterias
Problem solvings (8 to 10 minutes)
Clarify Problem
Ask for unclear parts of the problem
Ask for data type, constraints
Define significant functions
Understand problem
Think and talk about solution
Think and talk about optimal solutions and compare time and space complexity
Identify the time and space complexity of brute force and why should not use brute-force
Think and talk about brute force solution if no idea for optimal solution
Ask for hints if still no idea for the optimal solution
Coding (5 to 8 minutes)
Ask the solution is good to start coding or not
Implement the brute-force solution if still no idea for optimal solution
Identify and handle edge cases at the begining
Extract helper function and implement later
Identify time complexity each line of code
Communication
Think out loud
Catch hints
Verification (2 to 3 minutes)
Debug a few input sample to verify the code
Verify the complexity during debugging