How do I prepare for a software engineering job interview?
Tags: software, job, interview, systemdesign
Published: 2018-06-18 12:03:53

---
title: How do I prepare for a software engineering job interview?
published: true
description: Being able to pass technical interviews is crucial for career growth as a software engineer, yet it can be hard to know exactly how to prepare.
cover_image: https://images.unsplash.com/photo-1519241047957-be31d7379a5d?ixlib=rb-0.3.5&ixid=eyJhcHBfaWQiOjEyMDd9&s=14bceaef9e3406f4b66fb49b3b9fe736&auto=format&fit=crop&w=1050&q=80
canonical_url: https://www.quora.com/How-do-I-prepare-for-a-software-engineering-job-interview/answer/Anshuman-Singh
tags: software, job, interview, system design
---

<p><strong>Pre-requisites[1]</strong></p>
<p>Lets look at the basic things you must know if you are interviewing for a software engineering position :</p>
<ul>
<li><strong>Programming in a language of your choice :&nbsp;</strong>You should have a strong hold on at least one programming language. You should be quickly able to understand reasonably complex piece of codes and mentally dry run them. You should be able to code a complex scenario in the said language.</li>
<li><strong>Problem solving / Algorithms :&nbsp;</strong>Algorithms in itself is a huge field. You are expected to know about basic algorithms. You will be at a great advantage if you know about basic problem solving approaches.</li>
</ul>
<blockquote>
<ul>
<li><strong>The above 2 topics make up for 50-75% of a software engineering interview process.</strong></li>
</ul>
</blockquote>
<ul>
<li><strong>System Design :&nbsp;</strong>This is extremely important if you are an experienced software engineer. You need to be good at :</li>
<ul>
<li>Understanding the requirements of a system</li>
<li>Designing scalable, fault tolerant systems ( Horizontal vs vertical scaling )</li>
</ul>
<li>Basics of the following[2] :</li>
<ul>
<li><em>Operating Systems :&nbsp;</em>Threads and Processes, Thread synchronization primitives ( semaphores and mutex ), Memory management ( Paging, Swapping )</li>
<li><em>Databases :&nbsp;</em>Querying a Relational DBMS, Indexing, Primary and Foreign Key constraints, Normalisation, Internal storage</li>
<li><em>Networks :</em>&nbsp;Network Layers, TCP and UDP, TCP packet structure, Packet routing, Subnetting</li>
<li><em>Web :&nbsp;</em>Cookies, Session management, Caching, Http / Https</li>
</ul>
</ul>
<p><strong>Where to learn them</strong></p>
<ul>
<li><strong>Programming in a language of your choice :&nbsp;</strong>I will assume you know the basics of programming in at least one language. Then it boils down to a lot of practice.</li>
<li><strong>Problem solving / Algorithms :&nbsp;</strong>Personally, I feel&nbsp;<a href="https://www.youtube.com/user/mycodeschool" target="_blank" data-qt-tooltip="youtube.com">mycodeschool</a>&nbsp;does a good job of teaching the basics of algorithms required.&nbsp;<br /><a href="https://www.interviewbit.com/" target="_blank" data-qt-tooltip="interviewbit.com">InterviewBit</a>&nbsp;has topic wise video tutorials augmented with related historical interview problems to practice on.&nbsp;<br />Leetcode has a great selection of problems to build problem solving skills.&nbsp;<br />If you feel a bit more adventurous, you can checkout&nbsp;<a href="http://www.spoj.com/" target="_blank"> http://www.spoj.com</a>&nbsp;and&nbsp;<a href="http://codeforces.com/problemset" target="_blank" data-qt-tooltip="codeforces.com" data-tooltip="attached">Problemset - Codeforces</a>. However, most of these problems might be too hard to qualify for a technical interview question.</li>
<li><strong>System Design :&nbsp;</strong>I feel&nbsp;<a href="https://www.interviewbit.com/courses/system-design/" target="_blank" data-qt-tooltip="interviewbit.com">this</a>&nbsp;is a great point to start with. Do try out the most frequently asked questions at&nbsp;<a href="https://www.interviewbit.com/courses/system-design/topics/interview-questions/#problems" target="_blank" data-qt-tooltip="interviewbit.com" data-tooltip="attached">System Design Interview Questions - InterviewBit</a>.&nbsp;<a href="http://book.mixu.net/distsys/ebook.html" target="_blank" data-qt-tooltip="mixu.net" data-tooltip="attached">http://book.mixu.net/distsys/ebo...</a>&nbsp;makes for an interesting read.</li>
</ul>
<p><strong>Final Execution</strong></p>
<p>Now that you are done with the preparation, following few final tips might help you do well in an actual interview :</p>
<ul>
<li><strong>Avoiding misunderstanding :&nbsp;</strong>A lot of candidates do badly in a programming interview because they start solving a problem different than the intended one. Make sure you spend 2-5 minutes asking the interviewer about corner cases on the problem. This will ensure that you have understood the problem correctly, and you understand corner cases to take care of in your solution.</li>
<li><strong>Code structure :&nbsp;</strong>This is not just applicable to interviews. Spending some time to think about how you would structure the code can save you coding and debugging time.</li>
<li><strong>Communicate :&nbsp;</strong>You should be able to communicate your thoughts to the interviewer. The interviewing process ( especially the system design round ) is mostly bouncing around ideas, and explaining to them your thought process.</li>
<li><strong>Company fit :&nbsp;</strong>Make sure you do your research about the company prior to applying for a job there. Most companies would want to hire candidates who feel passionately about the work the company is doing.<br />Avoid asking questions which you could easily find on Google. Think about exciting additions you could make to the company product / service if you had your way at the company.</li>
</ul>
<p>The above mentioned process might be time consuming. However, it would increase your chances multifold if followed correctly.&nbsp;<br />All the best!</p>
<p><em>[1] Above data has been compiled based on the interview experiences of candidates referred through&nbsp;</em><a href="https://www.interviewbit.com/" target="_blank"><em>https://www.interviewbit.com/</em></a><em>&nbsp;to tier 1 companies.</em><br /><em>[2] You might still do well in interviews without knowing everything from the list.</em></p>