By Ben Rogojan
Software engineering interviews, like other technical interviews, require plenty of preparation. There are a number of subjects that need to be covered in order to ensure you are ready for back-to-back questions on algorithms, data structures, design, optimization and honestly just an ever growing basket of subjects.
So I created a checklist on my last round of interviews that covers many of the popular topics.
To help you keep track of your progress, we've compiled a comprehensive checklist of the same problems listed below; that list can be found here.
Warm Up With The Classics
How did you do? Take a moment and rate yourself on these classics. We have been asked most of these at some point in the interview process---and often early on as weed-out style questions. They often have less to do with algorithms and data structures, but still require a good understanding of loops and arrays (yes, an array is a data structure).
Algorithms And Data Structures
Pre-Study Problems
Before going through the video content about data structures and algorithms, consider trying out these problems below. See if you can answer them. This will help you know what to focus on.
- 985. Sum of Even Numbers After Queries
- 657. Robot Return to Origin
- 961. N-Repeated Element in Size 2N Array
- 110. Balanced Binary Tree
- 3. Longest Substring Without Repeating Characters
- 19. Remove Nth Node From End of List
- 23. Merge k Sorted Lists
- 31. Next Permutation
Algorithms And Data Structures Videos
Data Structures
- Data Structures & Algorithms #1 --- What Are Data Structures? --- Video
- Multi-dim --- Video
- Dynamic Arrays --- Video
- Resizing arrays --- Video
- Data Structures: Linked Lists --- Video
- Core Linked Lists Vs Arrays --- Video
- Pointers to Pointers --- Video
- Data Structures: Trees --- Video
- Data Structures: Heaps --- Video
- Data Structures: Hash Tables --- Video
- Phone Book Problem --- Video
- Data Structures: Stacks and Queues --- Video
- Using Stacks Last-In First-Out --- Video
- Data Structures: Crash Course Computer Science #14 --- Video
- Data Structures: Tries --- Video
Algorithms
- Algorithms: Graph Search, DFS and BFS --- Video
- BFS(breadth-first search) and DFS(depth-first search) --- Video
- Algorithms: Binary Search --- Video
- Binary Search Tree Review --- Video
- Python Algorithms for Interviews --- Video
- Algorithms: Recursion --- Video
- Algorithms: Bubble Sort --- Video
- Algorithms: Merge Sort --- Video
- Algorithms: Quicksort --- Video
Big O Notation
- Introduction to Big O Notation and Time Complexity (Data Structures & Algorithms #7) --- Video
- Harvard CS50 --- Asymptotic Notation --- Video
- A Gentle Introduction to Algorithm Complexity Analysis --- Post
- Cheat sheet --- Post
Dynamic Programming
- Dynamic Programming (Think Like a Programmer) --- Video
- Algorithms: Memoization and Dynamic Programming --- Video
- 6.006: Dynamic Programming I: Fibonacci, Shortest Paths --- Video
- 6.006: Dynamic Programming II: Text Justification, Blackjack --- Video
- Dynamic Programming --- Post
String Manipulation
- Coding Interview Question and Answer: Longest Consecutive Characters --- Video
- Sedgewick --- Substring Search --- Video
Interview Problem Walk-throughs
- Google Coding Interview --- Universal Value Tree Problem --- Video
- Google Coding Interview Question and Answer #1: First Recurring Character --- Video
- Find min and max element in a binary search tree --- Video
- Find height of a binary tree --- Video
- Check if a binary tree is binary search tree or not --- Video
- What Is Tail Recursion? Why Is It So Bad? --- Video
Post-Study Problems
Now that you have studied for a bit, and watched a few videos, let's try some more problems!
- Bigger Is Greater
- 6. ZigZag Conversion
- 7. Reverse Integer
- 40. Combination Sum II
- 43. Multiply Strings
- Larry's Array
- Short Palindrome
- 65. Valid Number
- Bigger is Greater
- The Full Counting Sort
- Lily's Homework
- Common Child
- 459. Repeated Substring Pattern
- 27. Remove Element
- 450. Delete Node in a BST
- 659. Split Array into Consecutive Subsequences
- Number of Subarrays with Bounded Maximum
- Combination Sum IV
- Best Time to Buy and Sell Stock with Cooldown
- Longest Repeating Character Replacement
- Swap Nodes in Pairs
- Binary Tree Right Side View
- Flatten Nested List Iterator
- Binary Tree Level Order Traversal
- Binary Search Tree Iterator
- Maximum Length of Pair Chain
- Split Linked List in Parts
Operational Programming Problems
Some companies won't ask you algorithm problems. Instead, they might focus more on implementation and operational problems. These are usually more niche and involve practical problems, like looping through data and performing a task of some sort. These types of problems don't usually require as much practice because it is more about taking basic concepts like arrays and HashMaps and keeping track of what you are doing to them.
- Kangaroo Problem
- Breaking Records
- Find A Stringiter
- No Idea!
- Days of the programmer
- Leaderboard
- Word Order
- Sherlock And Squares
- Equalize The Array
- Apples And Oranges
- More Operational Style Questions
System Design Videos
System design questions are crucial questions that show you are more than just a coder. You need to be able to think big picture as an engineer. Where do certain services belong, what kind of servers do you need, how would you manage traffic, etc. All of these ideas show that you are able to design software, not just code what people tell you to code.
- Parking Lot System --- Video
- Whats App --- Video
- Uber design --- Video
- Instagram --- Video
- Tinder Service --- Video
Operating Systems
Operating system questions are a little more rare, but it is good to have a solid understanding of concepts like threads, scheduling, memory, etc., even if it is just a basic understanding. It is very embarrassing to get asked what the difference is between a process and a thread and not know the answer.
- Commonly Asked Operating Systems Interview Questions
- What is Translation lookaside buffer?
- Why does Round Robin avoid the Priority Inversion Problem?
- Interrupt Vs System Call---What is 'inode' in file system?
- Operating System Interview Questions and Answers --- Part I
- What is a kernel --- Gary explains
- Round Robin Algorithm Tutorial (CPU Scheduling)
- The Magic of LRU Cache (100 Days of Google Dev) --- Video
- MIT 6.004 L15: The Memory Hierarchy --- Video
- Interrupts --- Video
- Scheduling --- Video
Threads
- User Level thread Vs Kernel Level thread
- Intro to Processes & Threads --- Video
- Difference Between Process and Thread --- Georgia Tech --- Advanced Operating Systems --- Video
- Difference between forking and multithreading
Object Oriented
Similar to operating systems, not every interview will ask you about object-oriented programming, but you never know. You want to make sure you remember your basics from your computer 162 course.
- Java Programming Tutorial --- 49 --- Inheritance --- Video
- Java Programming Tutorial --- 55 --- Introduction to Polymorphism --- Video
- Java Programming Tutorial --- 58 --- Abstract and Concrete Classes --- Video
- Java Programming Tutorial --- 57 --- Overriding Rules --- Video
- Java Programming Tutorial --- 59 --- Class to Hold Objects
- Object-Oriented Programming --- Video
Design Patterns
If you were like us, we weren't taught about all the various design patterns. So it's good to get an understanding of how they work and why you would use them. Some interview questions can be as simple as, "Why would you use a factory class?"
- Factory Design Pattern --- Video
- Observer Design Pattern --- Video
- Adapter Design Pattern --- Video
- Facade Design Pattern --- Video
- Chain of Responsibility Design Pattern --- Video
- Interpreter Design Pattern --- Video
- Singleton Design Pattern Tutorial --- Video
- Chapter 6 (Part 1) --- Patterns (video) --- Video
- Head First Design Patterns --- Video
SQL
This is the last section. Many of you probably won't be asked that many SQL questions. However, I always think it is good to have in your back pocket.
SQL --- Problems
- 262. Trips and Users
- 601. Human Traffic of Stadium
- 185. Department Top Three Salaries
- 626. Exchange Seats
- Hackerrank The Report
- 177. Nth Highest Salary
- Symmetric Pairs
- OccupationsPlacements
- Ollivander's Inventory
SQL --- Videos
- IQ15: 6 SQL Query Interview Questions --- Video
- Learning about ROW_NUMBER and Analytic Functions --- Video
- Advanced Implementation Of Analytic Functions --- Video
- Advanced Implementation Of Analytic Functions Part 2 --- Video
- Wise Owl SQL Videos --- Video
Post SQL Problems
- Binary Tree Nodes
- Weather Observation Station 18
- ChallengesPrint Prime Numbers
- 595. Big Countries
- 626. Exchange Seats
- SQL Interview Questions: 3 Tech Screening Exercises (For Data Analysts)
Interviewing can be tough because you can feel like you are making no progress. Having this study guide will help you track your progress and give you a better read on how you are doing!
Good luck!
Also, if you are looking to read/watch more great posts or videos:
Connecting To Big Query Using Jupyter Notebook On SaturnCloud Part 2
Three Books You Should Read As A Data Scientist
Hadoop Vs Relational Databases
How Algorithms Can Become Unethical and Biased
How To Improve Your Data Driven Strategy
How To Develop Robust Algorithms
4 Must Have Skills For Data Scientists
SQL Best Practices — Designing An ETL Video
Oldest comments (81)
Wow, thanks
You're welcome!
thanks dude
You're welcome!
Thanks a lot!
You're welcome!
You know something's going to be a great resource when it already has a whole bunch of "saved for later" tags 😃
Great list! Love that you included more than just algorithms (like system design, etc too). Even if you're not interviewing right now, it's a great idea to just pick a few videos off the list and watch them :)
Thanks!
Thanks for your kind words! Yes almost 1k saves as of right now. I really tried to make it comprehensive. Also, that isn't meant to intimidate anyone. The reason I add a checklist is so you can do a few in each section and go for an interview. Figure out where you need to work on things and focus on that area.
Took only 3 days for that number to jump up to 2000. Just goes to show how awesome this checklist is. Thanks for creating this!
It's crazy how fast it got liked o.O
I am not a guy from computer science, will learning from this guide change the way I approach programming problems? Just asking as an outsider.
Yes. Mastering the list above might even turn you into a guy from computer science. At minimum, it will change the way you approach programming problems to the computer science way.
In many ways you are very correct! If you can really get a handle on all this stuff. You could land a job as a software engineer.
I'm still rather new myself, but I think so! Especially with regards to performance (think 100k users or records), and maintainability (how organized your entire code base is e.g. 200 java files)
Nice article.
I would mention about application security.
Let's start with OWASP: blog.sucuri.net/2018/10/owasp-top-...
Amazing work, thanks!!
Good luck!
Thanks! This is perfect!
I had some trouble figuring out what I should tackle first. The warm up and pre-study problems are a great idea.
After the warm-ups I think I would personally just hit a few of each subject at a time and then check them off the checklist.
The "warm ups" made me sit back down and reevaluate my career entirely. Is it too late to change my major to Underwater Basket-Weaving?
Seems like I will never be ready :)
Don't let this stress you out. You don't need to do every problem to be ready. I just recommend doing a few of each. Doing an interview or two, seeing where you need to study and then do more :).
I did my first interview today. It was bad. Not that bad as I imagined. I could answer what I learned since from the start. I was already aware but rediscovered that I need to learn a lot.
Thanks for the boost!
We have all had that first interview. I remember my first interview at Amazon. The very first question shut me down and I froze and just couldn't think of a good answer. Luckily the interviewer allowed me to move on so I could get some answers in. But those first interviews show you what you don't know...it's painful but good :);
Haha exactly. Happened to me either. I asked to "move on" and get back to that question "later".
In first interview. I was asked to sum up all integers in an array. I used reduced method.interviewer asked me to use for loop instead. I completely froze. They laughed at me an sent me out. That was a push in the right direction for me.
I was asked:
OOP & all related concepts on Java. It was very detailed. (answered 85%)
Data Structures & Algorithms (BST, RB Tree, Sets, Maps, Hashing, Graphs, BFS, DFS, MSP, etc..) (answered 90%)
SQL: they nearly asked every single keyword on SQL. (answered 99%)
Implemented a LinkedList on a blackboard. Then they made me do couple of sorting algorithms on that.
HTML & CSS live-coding.
And they rejected me yesterday because I don't know JS Which was already very clear on my resume. This was a junior FE position :)
Welcome to interviewing....
Most companies have no clue how to interview and the process is similar for senior and Junior. I interviewed at another company for an internship where I was asked to implement a LinkedList in Java even though I made it clear I was more into Javascript. But somehow I did well because I was prepared for anything. The interview gave a glowing review and said he was really impressed. The recruiter contacted me to ask if I had another offer I was considering, I said No. Then he said they were going to interview other candidates. Next thing I heard was that they picked other guys.
I just kep working harder. Months after that I got a dream offer. I am glad I missed that opportunity.I would have had to start form an intern. But I got another offer as solid mid-level Engineer. Just keep pushing. Itäs a matter of time. I was rejected around 300times , some after 6 rounds.
That's really great references to have a look and to test your preparation.
Thanks for sharing.
Good luck!!