Foundations
Linear Structures
Hashing
Array and String Patterns
Recursion, Search, and Sorting
Problem Solving Patterns
Algorithm Searching
Sorting Algorithms
Array Algorithms
Grid Algorithms
Linear Structure Algorithms
Hashing Algorithms
Recursion and Backtracking
Greedy Algorithms
Tree and Heap Algorithms
Graph Algorithms
Dynamic Programming Algorithms
String Algorithms
Math Algorithms
Keyboard ready
Space plays. Arrow keys step. R restarts.
Live lesson state
Start with the goal: Explain the mental model and assumptions behind Longest Increasing Subsequence
1 / 2
Dynamic Programming
See the input
Input for Longest Increasing Subsequence: Track the smallest possible tail value for increasing subsequences of each length.
0
1
2
3
4
2
3
4
5
6
4
5
6
7
8
6
7
8
9
10
Step 1 O(n log n) time - O(n) space
Visual progress 50%
Start with the goal: Explain the mental model and assumptions behind Longest Increasing Subsequence: Show the empty state table.
Guided progression
6% lesson
Step 1 / 2Learner goal
Speech settings Speed 1.0 · Volume 90%
Keyboard: Space play/pause · Arrow keys step · Page Up/Down change sections · R restart