top of page
Search
Writer's picturetechwriting

How To Pass The Coding Interview

Coding interviews can be a challenge for even the most veteran developers. For new developers they can be a downright nightmare. Sitting in front of a whiteboard while six or seven people stare at you can be intimidating. Especially if you're stuck on a problem. Unfortunately software developers need to study for their interviews.


Even though coding interviews can be scary I have a few quick tips on how to get through them. There is a lot of material to cover in the world of coding interviews. Keep reading and make your life much easier...


1. Study Every Day

This may seem obvious at first, however, you'd be surprised the amount of developers who don't do any studying before their interviews. Yes, their will always be people out there who can ace any interview they go on. Those people are the outliers. For the rest of us mere mortals, taking at least an hour a day to study is a good idea.


The key is to be consistent. Practice about the same time every day. Keep a notebook, or online journal, on what topics you covered and notes on how you solved each problems. That way you can look back through it before your interview so everything is fresh.


Give yourself at least a couple weeks to study. My suggestion would be 15-30 hours of studying depending on your experience. If you study about an hour a day that would be about two to four weeks.


2. Practice On a Whiteboard

Try to replicate the environment you will be in when you do an interview. Practice interview problems on a whiteboard. It doesn't have to be a real whiteboard of course. Get out a piece of blank white paper, find a quiet place and start writing. Don't use a computer, don't use any help, just find a problem and start writing.


Begin by writing out some quick pseudo code. Employers love this and it will help you flesh out the real code. After you are satisfied with your pseudo code begin on the real code. Don't worry about syntax, you can go back later. Work through each step. Talk to yourself as if you're in a real interview.


This is certainly something I wouldn't do everyday. A few times before your interview should get you in the right mindset.


3. Practice Algorithms

You're probably thinking right now what resources you'll need to start doing these interviews. Well luckily, via the power of the internet, you have at your disposal thousands of algorithm problems. LeetCode seems to be one of the more popular places. Career Cup is another.


If you're looking for a little more hand holding Pramp.com is an excellent resource. For free you'll be paired off with another developer. Each of you will be given an algorithm problem and you'll take turns interviewing each other. I've tried this a couple of times and it really worked out well.


Interview Cake offers many free algorithm problems and it offers an online course with more 1-on-1 feedback to help you get that job. It has a 30 day money back guarantee.


4. Find good relationships

This might seem difficult at first- really all you need is to find someone who is willing to do a mock interview with you. They don't even have to be technical. Just have them sit their and nod their head while you try to explain some algorithm your doing on the whiteboard. If they don't completely understand that's fine. You never know, they might even have some valuable feedback you can use.


In an ideal world you could find someone who is either a senior developer or someone else looking for a job and you can quiz each other and do mock interviews. This just doesn't happen that often.


5. Be patient and keep trying

I wish I could tell you that by following these five quick tips that your guaranteed to land your dream developer job. The real world is a lot more complicated. You should expect and accept failure. As hard as it seems at the time you'll probably fail on your first interview. Their is just so many variables that you can't possibly predict. You may have nailed the algorithms but maybe you're not the right fit with the team. Maybe the employer already has a more qualified candidate in mind. Or maybe you did nothing wrong, and they just changed their mind.


The most important thing to keep in mind is that you're not a failure. The interview was a failure, that may or may not have been a result of your actions. The best thing to do is try to take a way a few things you learned, write them down and prepare for the next interview. It's a lot easier said then done, I know. Also, if you can, try to stay positive. It's easy to blame the interviewer, when you don't get a job. It's a lot harder to look at yourself and figure out why things didn't work out.

19 views0 comments

Recent Posts

See All

コメント


bottom of page