Loading page…
Contest problems rated 800 to 1,000 ask a small question about a long list, string or number. The lecture shows how to keep only the state the question needs, and the edge of each shortcut: ties, run lengths, a square root counted once and numbers too big for 64 bits.
Welcome back to the Basics camp.