Plots With an Exact Harvest
Hard · Prefix Sums · about 40 min
A farm is a grid of fields; grid[r][c] is the yield of one field (a negative number is a loss).
Hard problems are part of TuringPath Pro. See plans.
Learn the pattern first: the Prefix Sums lesson.
More Prefix Sums problems
- Where the Seesaw Balances (Easy)
- Stretches That Hit the Goal (Medium)
- Batches That Split Evenly (Medium)
- Orchard Plot Totals (Medium)