Void⚑
Void⚑

@codewithvoid

13 Tweets 6 reads Sep 11, 2022
I have taken 200+ coding interviews.
10 blunders that are keeping you from getting hired (and how to fix them): 🧡
⚑ Coding Interview Mistake #1
❌ Not understanding the problem
Fix:
βœ… Re-read the question until you understand constraints and edge cases.
βœ… Re-phrase question in your own words and verify understanding with the interviewer.
⚑ Coding Interview Mistake #2
❌ Not asking questions
Fix:
βœ… Clarify any detail about the problem you find ambiguous.
βœ… Ask for problem constraints. Range of values, size of input, etc.
βœ… Ask the interviewer if they prefer time or space optimized solution.
⚑ Coding Interview Mistake #3
❌ Not planning before coding
Fix:
βœ… Determine starting and ending points for solving the problem.
βœ… Develop a high level algorithm before refining details.
⚑ Coding Interview Mistake #4
❌ Not thinking out loud
Fix:
βœ… Discuss solution approach with the interviewer.
βœ… Walk them through your implementation by dry running code.
⚑ Coding Interview Mistake #5
❌ Not using hints
Fix:
βœ… Acknowledge the hint and how does it help.
βœ… Expand on hint and see where else can it improve the solution.
Coding Interview Mistake #6
❌ Not giving brute-force solution
Fix:
βœ… Start by sharing simplest brute force solution.
βœ… Explain why the approach is sub-optimal.
⚑ Coding Interview Mistake #7
❌ Not optimizing the solution
Fix:
βœ… Go through the solution step by step and identify the inefficiencies.
βœ… Resolve inefficiencies by using right data structure or algorithm for the task.
⚑ Coding Interview Mistake #8
❌ Not speaking while coding
Fix:
βœ… Keep explaining to the interviewer what you are coding.
βœ… Don’t speak code verbatim, also explain why you made a decision.
⚑ Coding Interview Mistake #9
❌ Not knowing Big O notation
Fix:
βœ… Know time and space complexity of classic algorithms.
βœ… Practice calculating complexity of your code.
⚑ Coding Interview Mistake #10
❌ Not testing the solution
Fix:
βœ… Dry run the code with sample inputs and edge cases.
βœ… If code doesn’t work, show that you understand why is that so.
TL;DR
Not understanding the problem
Not asking questions
Not planning before coding
Not thinking out loud
Not using hints
Not giving brute-force solution
Not optimizing the solution
Not speaking while coding
Not knowing Big O notation
Not testing the solution
That's a wrap!
If you enjoyed this thread:
retweet, like and leave a comment on the top tweet.
Follow @codewithvoid for:
🐦 tweets
🧡 threads
πŸŽ™οΈ spaces
…that will help you become a top 1% developer.

Loading suggestions...