# 142 Resources for Mastering Coding Interviews

## This software engineering study guide will help you study for your interviews and get any job!

By Ben Rogojan And Shayan

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!