All Courses
› Coding Interview Patterns
Coding Interview Patterns
120 lessons
Introduction to Two Pointers
Pair Sum - Sorted
Triplet Sum
Is Palindrome Valid
Largest Container
Shift Zeros to the End
Next Lexicographical Sequence
Introduction to Hash Maps and Sets
Pair Sum - Unsorted
Verify Sudoku Board
Zero Striping
Longest Chain of Consecutive Numbers
Geometric Sequence Triplets
Introduction to Linked Lists
Linked List Reversal
Remove the Kth Last Node From a Linked List
Linked List Intersection
LRU Cache
Palindromic Linked List
Flatten a Multi-Level Linked List
Introduction to Fast and Slow Pointers
Linked List Loop
Linked List Midpoint
Happy Number
Introduction to Sliding Windows
Substring Anagrams
Longest Substring With Unique Characters
Longest Uniform Substring After Replacements
Introduction to Binary Search
Find the Insertion Index
First and Last Occurrences of a Number
Cutting Wood
Find the Target in a Rotated Sorted Array
Find the Median From Two Sorted Arrays
Matrix Search
Local Maxima in Array
Weighted Random Selection
Introduction to Stacks
Valid Parenthesis Expression
Next Largest Number to the Right
Evaluate Expression
Repeated Removal of Adjacent Duplicates
Implement a Queue using Stacks
Maximums of Sliding Window
Introduction to Heaps
K Most Frequent Strings
Combine Sorted Linked Lists
Median of an Integer Stream
Sort a K-Sorted Array
Introduction to Intervals
Merge Overlapping Intervals
Identify All Interval Overlaps
Largest Overlap of Intervals
Introduction to Prefix Sums
Sum Between Range
K-Sum Subarrays
Product Array Without Current Element
Introduction to Trees
Invert Binary Tree
Balanced Binary Tree Validation
Rightmost Nodes of a Binary Tree
Widest Binary Tree Level
Binary Search Tree Validation
Lowest Common Ancestor
Build Binary Tree From Preorder and Inorder Traversals
Maximum Sum of a Continuous Path in a Binary Tree
Binary Tree Symmetry
Binary Tree Columns
Kth Smallest Number in a Binary Search Tree
Serialize and Deserialize a Binary Tree
Introduction to Tries
Design a Trie
Insert and Search Words with Wildcards
Find All Words on a Board
Introduction to Graphs
Graph Deep Copy
Count Islands
Matrix Infection
Bipartite Graph Validation
Longest Increasing Path
Shortest Transformation Sequence
Merging Communities
Prerequisites
Shortest Path
Connect the Dots
Introduction to Backtracking
Find All Permutations
Find All Subsets
N Queens
Combinations of a Sum
Phone Keypad Combinations
Introduction to Dynamic Programming
Climbing Stairs
Minimum Coin Combination
Matrix Pathways
Neighborhood Burglary
Longest Common Subsequence
Longest Palindrome in a String
Maximum Subarray Sum
0/1 Knapsack
Largest Square in a Matrix
Introduction to Greedy Algorithms
Jump to the End
Gas Stations
Candies
Introduction to Sort and Search
Sort Linked List
Sort Array
Kth Largest Integer
Dutch National Flag
Introduction to Bit Manipulation
Hamming Weights of Integers
Lonely Integer
Swap Odd and Even Bits
Introduction to Math and Geometry
Spiral Traversal
Reverse 32-Bit Integer
Maximum Collinear Points
The Josephus Problem
Triangle Numbers