Practice shelf / Sumthread
Ordering challenge

Rebuild the route from its running totals

A straight path has the values 2, 4, 1. You start at the 2 and add the value under each move.

Check the order
  1. At the first tile, the running total is 2.
  2. After stepping to 4, the total becomes 6.
  3. After the final step to 1, the total reaches 7.

The checkpoint at 6 arrives before 7 even though one tile is worth only 1. Sumthread asks you to hit sum targets in order.

See Sumthread on the App Store ↗