01Chapter 1: What Is a Longest Increasing Subsequence?This chapter assumes you can read basic Python, index into arrays, and reason about Big-O cost. It also assumes you know basic dynamic programming, meaning subproblems and recurrences.2 min read
02Chapter 2: The Tails Array: Smallest Ending Value per LengthThis chapter assumes you know the O(n^2) dynamic program for LIS, parent pointers, and binary search on a sorted list. The quadratic DP compares every element with every element before it. The faster method keeps a single summary of the elements seen so far and searches it in O(log n) time.2 min read