28/32
Part 7 of 7 · Follow-upsLearn and do

A spreadsheet? Recompute only the cells downstream of a change

Design Excel Sum Formula is on OpenAI's and Airbnb's LeetCode tag lists (3 sources), with Topological Sort among its tags. A cell whose formula reads other cells needs them, so each reference is a pair.

Predict

A1 holds 5 and A2 holds 7. B1 is = A1 * 2, C1 is = B1 + A1, B2 is = A2 + 1, and C2 is = B1 + B2. A1 changes. Which cells need working out again?

Pick an answer above to see the rest
Predict

Which new pair closes a cycle in the pipeline?

Pick an answer above to see the rest