Drill

ProblemsTopics › Prefix sums

Prefix sums practice problems

pattern9 problems

Carry the running total so any span is one subtraction away. A pattern: a move you make, and the kind of thing an interview is really asking you to spot. 9 problems in the bank train it, each with a worked example, a hint and a reference solution.

Start a Prefix sums session →

9 problems