August 2026
Intermediate
138 pages
2h 57m
English

This chapter discusses problems that can be uniformly decomposed into similar subproblems. It both explains how to recognize them and provides their algorithm outlines.
Video games rapidly show scenes from different perspectives. This relies on fast matrix multiplication, which relies, in turn, on divide-and-conquer algorithms to dramatically speed up the process. What’s at work is the difference between finding a word in a dictionary by starting at the beginning and going word-by-word versus looking in the middle, then going left or right, and so on—which is dramatically faster. This so-called binary search, which ...
Read now
Unlock full access