Loading topic
collections.Counter, and read Big-O notation. It does not cover caching or tables yet. Its goal is narrower: to give you a reliable way to tell whether a recursive solution repeats work, and how much.7 min readfunctools.lru_cache, and turn it into a bottom-up table. It also assumes you can count states and the work done per state. Here the question is practical. You have a correct recurrence. Should you memoize it or tabulate it?6 min readwhile loops.6 min read