Avoid These 10 Blunders In Your Next Coding Interview

In my software engineering career I have taken 200+ coding interviews.

In this article, sharing top 10 most common blunders interviewees make in the interviews and tips on fixing them.

TL;DR

Not understanding the problem
Not asking que…


This content originally appeared on DEV Community 👩‍💻👨‍💻 and was authored by Void⚡

How to fail a coding interview

In my software engineering career I have taken 200+ coding interviews.

In this article, sharing top 10 most common blunders interviewees make in the interviews and tips on fixing them.

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

❌ 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.

❌ 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.

❌ Not planning before coding

Fix:

âś… Determine starting and ending points for solving the problem.

âś… Develop a high level algorithm before refining details.

❌ Not thinking out loud

Fix:

âś… Discuss solution approach with the interviewer.

âś… Walk them through your implementation by dry running code.

❌ Not using hints

Fix:

âś… Acknowledge the hint and how does it help.

âś… Expand on hint and see where else can it improve the solution.

❌ Not giving brute-force solution

Fix:

âś… Start by sharing simplest brute force solution.

âś… Explain why the approach is sub-optimal.

❌ 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.

❌ 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.

❌ Not knowing Big O notation

Fix:

âś… Know time and space complexity of classic algorithms.

âś… Practice calculating complexity of your code.

❌ 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.

Wrapping up đź“ť

Hope you will avoid these blunders in your next coding interview.

If you liked this post, follow me for more of these. 🙂

Also, share ONE interview mistake that you never want to repeat in comments. 👇


This content originally appeared on DEV Community 👩‍💻👨‍💻 and was authored by Void⚡


Print Share Comment Cite Upload Translate Updates
APA

Void⚡ | Sciencx (2023-02-21T18:26:07+00:00) Avoid These 10 Blunders In Your Next Coding Interview. Retrieved from https://www.scien.cx/2023/02/21/avoid-these-10-blunders-in-your-next-coding-interview/

MLA
" » Avoid These 10 Blunders In Your Next Coding Interview." Void⚡ | Sciencx - Tuesday February 21, 2023, https://www.scien.cx/2023/02/21/avoid-these-10-blunders-in-your-next-coding-interview/
HARVARD
Void⚡ | Sciencx Tuesday February 21, 2023 » Avoid These 10 Blunders In Your Next Coding Interview., viewed ,<https://www.scien.cx/2023/02/21/avoid-these-10-blunders-in-your-next-coding-interview/>
VANCOUVER
Void⚡ | Sciencx - » Avoid These 10 Blunders In Your Next Coding Interview. [Internet]. [Accessed ]. Available from: https://www.scien.cx/2023/02/21/avoid-these-10-blunders-in-your-next-coding-interview/
CHICAGO
" » Avoid These 10 Blunders In Your Next Coding Interview." Void⚡ | Sciencx - Accessed . https://www.scien.cx/2023/02/21/avoid-these-10-blunders-in-your-next-coding-interview/
IEEE
" » Avoid These 10 Blunders In Your Next Coding Interview." Void⚡ | Sciencx [Online]. Available: https://www.scien.cx/2023/02/21/avoid-these-10-blunders-in-your-next-coding-interview/. [Accessed: ]
rf:citation
» Avoid These 10 Blunders In Your Next Coding Interview | Void⚡ | Sciencx | https://www.scien.cx/2023/02/21/avoid-these-10-blunders-in-your-next-coding-interview/ |

Please log in to upload a file.




There are no updates yet.
Click the Upload button above to add an update.

You must be logged in to translate posts. Please log in or register.