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