Interview Preparation

FAANG Interview Preparation

Learn the 18 essential coding patterns (Sliding Window, Two Pointers, DP), and how to tell which one an unfamiliar problem needs.


264 Lessons
Advanced
Python, Java, C++, JavaScript, TypeScript, C

Lessons

Two Pointers
Master the Introduction to Two Pointers pattern to solve top interview questions efficiently.
Master the Reverse String pattern to solve top interview questions efficiently.
Master the Two Sum II - Input Array Is Sorted pattern to solve top interview questions efficiently.
Master the Valid Palindrome pattern to solve top interview questions efficiently.
Master the Merge Sorted Array pattern to solve top interview questions efficiently.
Master the Remove Duplicates from Sorted Array pattern to solve top interview questions efficiently.
Master the Remove Element pattern to solve top interview questions efficiently.
Master the Rotate Array pattern to solve top interview questions efficiently.
Master the Squares of a Sorted Array pattern to solve top interview questions efficiently.
Master the Is Subsequence pattern to solve top interview questions efficiently.
Master the Valid Palindrome II pattern to solve top interview questions efficiently.
Master the Longest Palindromic Substring pattern to solve top interview questions efficiently.
Master the Palindromic Substrings pattern to solve top interview questions efficiently.
Master the Encode and Decode Strings pattern to solve top interview questions efficiently.
Master the Container With Most Water pattern to solve top interview questions efficiently.
Master the 3-Sum pattern to solve top interview questions efficiently.
Master the 3Sum Closest pattern to solve top interview questions efficiently.
Master the 4Sum pattern to solve top interview questions efficiently.
Master the Valid Triangle Number pattern to solve top interview questions efficiently.
Master the Move Zeroes pattern to solve top interview questions efficiently.
Master the Sort Colors pattern to solve top interview questions efficiently.
Master the Trapping Rain Water pattern to solve top interview questions efficiently.
Master the Multiply Strings pattern to solve top interview questions efficiently.
Master the Add Binary pattern to solve top interview questions efficiently.
Master the Add Strings pattern to solve top interview questions efficiently.
Master the Plus One pattern to solve top interview questions efficiently.
Hash Map
Master the Two Sum pattern to solve top interview questions efficiently.
Master the Contains Duplicate pattern to solve top interview questions efficiently.
Master the Valid Anagram pattern to solve top interview questions efficiently.
Master the Group Anagrams pattern to solve top interview questions efficiently.
Master the Top K Frequent Elements pattern to solve top interview questions efficiently.
Master the Longest Consecutive Sequence pattern to solve top interview questions efficiently.
Master the Valid Sudoku pattern to solve top interview questions efficiently.
Master the Majority Element pattern to solve top interview questions efficiently.
Master the Isomorphic Strings pattern to solve top interview questions efficiently.
Master the Word Pattern pattern to solve top interview questions efficiently.
Master the Ransom Note pattern to solve top interview questions efficiently.
Master the First Unique Character in a String pattern to solve top interview questions efficiently.
Master the Roman to Integer pattern to solve top interview questions efficiently.
Sliding Window
Master the Introduction to Sliding Window pattern to solve top interview questions efficiently.
Master the Longest Substring Without Repeating Characters pattern to solve top interview questions efficiently.
Master the Longest Repeating Character Replacement pattern to solve top interview questions efficiently.
Master the Minimum Window Substring pattern to solve top interview questions efficiently.
Master the Minimum Size Subarray Sum pattern to solve top interview questions efficiently.
Master the Max Consecutive Ones III pattern to solve top interview questions efficiently.
Master the Fruit Into Baskets pattern to solve top interview questions efficiently.
Master the Contains Duplicate II pattern to solve top interview questions efficiently.
Master the Overview (Fixed Length) pattern to solve top interview questions efficiently.
Master the Maximum Points You Can Obtain from Cards pattern to solve top interview questions efficiently.
Master the Maximum Sum of Distinct Subarrays With Length K pattern to solve top interview questions efficiently.
Master the Permutation in String pattern to solve top interview questions efficiently.
Master the Find All Anagrams in a String pattern to solve top interview questions efficiently.
Master the Sliding Window Maximum pattern to solve top interview questions efficiently.
Intervals
Master the Intervals Overview pattern to solve top interview questions efficiently.
Master the Merge Intervals pattern to solve top interview questions efficiently.
Master the Insert Interval pattern to solve top interview questions efficiently.
Master the Non-overlapping Intervals pattern to solve top interview questions efficiently.
Master the Meeting Rooms pattern to solve top interview questions efficiently.
Master the Meeting Rooms II pattern to solve top interview questions efficiently.
Master the Min Arrows to Burst Balloons pattern to solve top interview questions efficiently.
Linked List
Master the Linked List Overview pattern to solve top interview questions efficiently.
Master the Reverse Linked List pattern to solve top interview questions efficiently.
Master the Middle of the Linked List pattern to solve top interview questions efficiently.
Master the Intersection of Two Linked Lists pattern to solve top interview questions efficiently.
Master the Merge Two Sorted Lists pattern to solve top interview questions efficiently.
Master the Add Two Numbers pattern to solve top interview questions efficiently.
Master the Linked List Cycle pattern to solve top interview questions efficiently.
Master the Palindrome Linked List pattern to solve top interview questions efficiently.
Master the Remove Nth Node From End of List pattern to solve top interview questions efficiently.
Master the Reorder List pattern to solve top interview questions efficiently.
Master the Swap Nodes in Pairs pattern to solve top interview questions efficiently.
Master the LRU Cache pattern to solve top interview questions efficiently.
Master the Find the Duplicate Number pattern to solve top interview questions efficiently.
Master the Copy List with Random Pointer pattern to solve top interview questions efficiently.
Master the Reverse Nodes in k-Group pattern to solve top interview questions efficiently.
Master the Happy Number pattern to solve top interview questions efficiently.
Stack
Master the Stack Overview pattern to solve top interview questions efficiently.
Master the Valid Parentheses pattern to solve top interview questions efficiently.
Master the Decode String pattern to solve top interview questions efficiently.
Master the Longest Valid Parentheses pattern to solve top interview questions efficiently.
Master the Overview (Monotonic Stack) pattern to solve top interview questions efficiently.
Master the Daily Temperatures pattern to solve top interview questions efficiently.
Master the Largest Rectangle in Histogram pattern to solve top interview questions efficiently.
Master the Maximal Rectangle pattern to solve top interview questions efficiently.
Master the Evaluate Reverse Polish Notation pattern to solve top interview questions efficiently.
Master the Min Stack pattern to solve top interview questions efficiently.
Master the Car Fleet pattern to solve top interview questions efficiently.
Master the Next Greater Element I pattern to solve top interview questions efficiently.
Master the Next Greater Element II pattern to solve top interview questions efficiently.
Master the Asteroid Collision pattern to solve top interview questions efficiently.
Master the Online Stock Span pattern to solve top interview questions efficiently.
Master the Remove K Digits pattern to solve top interview questions efficiently.
Master the Simplify Path pattern to solve top interview questions efficiently.
Master the Basic Calculator II pattern to solve top interview questions efficiently.
Master the Remove All Adjacent Duplicates in String pattern to solve top interview questions efficiently.
Binary Search
Master the Binary Search pattern to solve top interview questions efficiently.
Master the Search Insert Position pattern to solve top interview questions efficiently.
Master the First Bad Version pattern to solve top interview questions efficiently.
Master the Sqrt(x) pattern to solve top interview questions efficiently.
Master the Valid Perfect Square pattern to solve top interview questions efficiently.
Master the Find Peak Element pattern to solve top interview questions efficiently.
Master the Apple Harvest (Koko Variant) pattern to solve top interview questions efficiently.
Master the Search in Rotated Sorted Array pattern to solve top interview questions efficiently.
Master the Find Minimum in Rotated Sorted Array pattern to solve top interview questions efficiently.
Master the Search a 2D Matrix pattern to solve top interview questions efficiently.
Master the Search a 2D Matrix II pattern to solve top interview questions efficiently.
Master the Time Based Key-Value Store pattern to solve top interview questions efficiently.
Master the Median of Two Sorted Arrays pattern to solve top interview questions efficiently.
Heap / Priority Queue
Master the Heap Overview pattern to solve top interview questions efficiently.
Master the Kth Largest Element in an Array pattern to solve top interview questions efficiently.
Master the K Closest Points to Origin pattern to solve top interview questions efficiently.
Master the Find K Closest Elements pattern to solve top interview questions efficiently.
Master the Merge K Sorted Lists pattern to solve top interview questions efficiently.
Master the Kth Smallest Element in a Sorted Matrix pattern to solve top interview questions efficiently.
Master the Find Median from Data Stream pattern to solve top interview questions efficiently.
Master the Last Stone Weight pattern to solve top interview questions efficiently.
Master the Network Delay Time pattern to solve top interview questions efficiently.
Master the Min Cost to Connect All Points pattern to solve top interview questions efficiently.
Master the Swim in Rising Water pattern to solve top interview questions efficiently.
Depth-First Search
Master the Introduction to DFS pattern to solve top interview questions efficiently.
Master the DFS Fundamentals pattern to solve top interview questions efficiently.
Master the Return Values in DFS pattern to solve top interview questions efficiently.
Master the Invert Binary Tree pattern to solve top interview questions efficiently.
Master the Maximum Depth of Binary Tree pattern to solve top interview questions efficiently.
Master the Same Tree pattern to solve top interview questions efficiently.
Master the Balanced Binary Tree pattern to solve top interview questions efficiently.
Master the Subtree of Another Tree pattern to solve top interview questions efficiently.
Master the Path Sum pattern to solve top interview questions efficiently.
Master the Passing Values Down (State) pattern to solve top interview questions efficiently.
Master the Validate Binary Search Tree pattern to solve top interview questions efficiently.
Master the Kth Smallest Element in a BST pattern to solve top interview questions efficiently.
Master the Construct Binary Tree from Preorder and Inorder Traversal pattern to solve top interview questions efficiently.
Master the Serialize and Deserialize Binary Tree pattern to solve top interview questions efficiently.
Master the Binary Tree Tilt pattern to solve top interview questions efficiently.
Master the Diameter of Binary Tree pattern to solve top interview questions efficiently.
Master the Lowest Common Ancestor of a Binary Tree pattern to solve top interview questions efficiently.
Master the Path Sum II pattern to solve top interview questions efficiently.
Master the Count Good Nodes in Binary Tree pattern to solve top interview questions efficiently.
Master the Longest Univalue Path pattern to solve top interview questions efficiently.
Master the Graphs Overview pattern to solve top interview questions efficiently.
Master the Graph Representation: Adjacency List pattern to solve top interview questions efficiently.
Master the Clone Graph pattern to solve top interview questions efficiently.
Master the Graph Valid Tree pattern to solve top interview questions efficiently.
Master the Matrices as Graphs pattern to solve top interview questions efficiently.
Master the Flood Fill pattern to solve top interview questions efficiently.
Master the Types of DFS (Tree Traversals) pattern to solve top interview questions efficiently.
Master the Number of Islands pattern to solve top interview questions efficiently.
Master the Surrounded Regions pattern to solve top interview questions efficiently.
Master the Pacific Atlantic Water Flow pattern to solve top interview questions efficiently.
Master the Longest Increasing Path in a Matrix pattern to solve top interview questions efficiently.
Breadth-First Search
Master the Introduction to BFS pattern to solve top interview questions efficiently.
Master the BFS Overview pattern to solve top interview questions efficiently.
Master the Binary Tree Level Order Sum pattern to solve top interview questions efficiently.
Master the Binary Tree Level Order Traversal pattern to solve top interview questions efficiently.
Master the Symmetric Tree pattern to solve top interview questions efficiently.
Master the Binary Tree Rightmost Node pattern to solve top interview questions efficiently.
Master the Binary Tree Zigzag Level Order Traversal pattern to solve top interview questions efficiently.
Master the Maximum Width of Binary Tree pattern to solve top interview questions efficiently.
Master the Graphs Overview pattern to solve top interview questions efficiently.
Master the Minimum Knight Moves pattern to solve top interview questions efficiently.
Master the Rotting Oranges pattern to solve top interview questions efficiently.
Master the 01 Matrix pattern to solve top interview questions efficiently.
Master the Bus Routes pattern to solve top interview questions efficiently.
Master the Word Ladder pattern to solve top interview questions efficiently.
Master the Cheapest Flights Within K Stops pattern to solve top interview questions efficiently.
Backtracking
Master the Introduction to Backtracking pattern to solve top interview questions efficiently.
Master the Solution Space Trees pattern to solve top interview questions efficiently.
Master the Subsets (Power Set) pattern to solve top interview questions efficiently.
Master the Permutations pattern to solve top interview questions efficiently.
Master the Permutations II pattern to solve top interview questions efficiently.
Master the Combinations pattern to solve top interview questions efficiently.
Master the Letter Case Permutation pattern to solve top interview questions efficiently.
Master the N-Queens pattern to solve top interview questions efficiently.
Master the Subsets II pattern to solve top interview questions efficiently.
Master the Combination Sum pattern to solve top interview questions efficiently.
Master the Combination Sum II pattern to solve top interview questions efficiently.
Master the Generate Parentheses pattern to solve top interview questions efficiently.
Master the Word Search pattern to solve top interview questions efficiently.
Master the Letter Combinations of a Phone Number pattern to solve top interview questions efficiently.
Master the Palindrome Partitioning pattern to solve top interview questions efficiently.
Graphs (Topological Sort)
Master the Ordering Dependencies (Topological Sort) pattern to solve top interview questions efficiently.
Master the Course Schedule pattern to solve top interview questions efficiently.
Master the Course Schedule II pattern to solve top interview questions efficiently.
Master the Alien Dictionary pattern to solve top interview questions efficiently.
Dynamic Programming
Master the Intro to Dynamic Programming pattern to solve top interview questions efficiently.
Master the Solving a Question with DP pattern to solve top interview questions efficiently.
Master the Fibonacci Number pattern to solve top interview questions efficiently.
Master the Counting Bits pattern to solve top interview questions efficiently.
Master the Pascal's Triangle pattern to solve top interview questions efficiently.
Master the Min Cost Climbing Stairs pattern to solve top interview questions efficiently.
Master the House Robber pattern to solve top interview questions efficiently.
Master the House Robber II pattern to solve top interview questions efficiently.
Master the House Robber III pattern to solve top interview questions efficiently.
Master the Coin Change pattern to solve top interview questions efficiently.
Master the Coin Change II pattern to solve top interview questions efficiently.
Master the Maximum Product Subarray pattern to solve top interview questions efficiently.
Master the Combination Sum IV pattern to solve top interview questions efficiently.
Master the Partition Equal Subset Sum pattern to solve top interview questions efficiently.
Master the Target Sum pattern to solve top interview questions efficiently.
Master the Decode Ways pattern to solve top interview questions efficiently.
Master the Maximal Square pattern to solve top interview questions efficiently.
Master the Unique Paths pattern to solve top interview questions efficiently.
Master the Unique Paths II pattern to solve top interview questions efficiently.
Master the Minimum Path Sum pattern to solve top interview questions efficiently.
Master the Triangle pattern to solve top interview questions efficiently.
Master the Longest Common Subsequence pattern to solve top interview questions efficiently.
Master the Edit Distance pattern to solve top interview questions efficiently.
Master the Interleaving String pattern to solve top interview questions efficiently.
Master the Distinct Subsequences pattern to solve top interview questions efficiently.
Master the Regular Expression Matching pattern to solve top interview questions efficiently.
Master the Wildcard Matching pattern to solve top interview questions efficiently.
Master the Burst Balloons pattern to solve top interview questions efficiently.
Master the Best Time to Buy and Sell Stock with Cooldown pattern to solve top interview questions efficiently.
Master the Longest Increasing Subsequence pattern to solve top interview questions efficiently.
Master the Word Break pattern to solve top interview questions efficiently.
Master the Maximum Profit in Job Scheduling pattern to solve top interview questions efficiently.
Greedy Algorithms
Master the Introduction to Greedy Algorithms pattern to solve top interview questions efficiently.
Master the Best Time to Buy and Sell Stock pattern to solve top interview questions efficiently.
Master the Best Time to Buy and Sell Stock II pattern to solve top interview questions efficiently.
Master the Gas Station pattern to solve top interview questions efficiently.
Master the Jump Game pattern to solve top interview questions efficiently.
Master the Jump Game II pattern to solve top interview questions efficiently.
Master the Task Scheduler pattern to solve top interview questions efficiently.
Master the Partition Labels pattern to solve top interview questions efficiently.
Master the Valid Parenthesis String pattern to solve top interview questions efficiently.
Master the Hand of Straights pattern to solve top interview questions efficiently.
Master the Integer to Roman pattern to solve top interview questions efficiently.
Trie
Master the Introduction to Tries (Prefix Trees) pattern to solve top interview questions efficiently.
Master the Implement Trie (Prefix Tree) pattern to solve top interview questions efficiently.
Master the Design Add and Search Words pattern to solve top interview questions efficiently.
Master the Word Search II pattern to solve top interview questions efficiently.
Master the Prefix Matching pattern to solve top interview questions efficiently.
Prefix Sum
Master the Introduction to Prefix Sums pattern to solve top interview questions efficiently.
Master the Count Vowels in Ranges pattern to solve top interview questions efficiently.
Master the Product of Array Except Self pattern to solve top interview questions efficiently.
Master the Subarray Sum Equals K pattern to solve top interview questions efficiently.
Matrices
Master the Spiral Matrix pattern to solve top interview questions efficiently.
Master the Rotate Image pattern to solve top interview questions efficiently.
Master the Set Matrix Zeroes pattern to solve top interview questions efficiently.
Bit Manipulation
Master the Number of 1 Bits pattern to solve top interview questions efficiently.
Master the Single Number pattern to solve top interview questions efficiently.
Master the Missing Number pattern to solve top interview questions efficiently.
Master the Reverse Bits pattern to solve top interview questions efficiently.
Master the Sum of Two Integers pattern to solve top interview questions efficiently.
Master the Pow(x, n) pattern to solve top interview questions efficiently.
Master the Reverse Integer pattern to solve top interview questions efficiently.

What You Will Learn

Two Pointers
Hash Map
Sliding Window
Intervals
Linked List
Stack
Binary Search
Heap / Priority Queue
Depth-First Search
Breadth-First Search
Backtracking
Graphs (Topological Sort)
Dynamic Programming
Greedy Algorithms
Trie
Prefix Sum
Matrices
Bit Manipulation

Skills You Will Gain

Pattern RecognitionAlgorithmsData StructuresProblem Deconstruction

Overview

The Ultimate Guide to Cracking Coding Interviews.

Stop solving random LeetCode problems. Learn the underlying patterns most interview questions are built on.


This course breaks down complex algorithms into digestible patterns like Sliding Window, Two Pointers, and Dynamic Programming. Once you know them, a problem you have never seen stops being a blank page: you can tell which pattern it calls for.


What's Included:

  • Deep dives into 18 essential coding patterns
  • Visual explanations for complex concepts
  • Curated selection of high-yield problems
Share:

REGISTER NOW

20% off every course

Register your email and we'll send you a coupon for 20% off all courses.