About this puzzle

The Shard — practice the decision, scored against the optimum

What does the The Shard puzzle teach?

Range-shard by load, not by key count — equal-sized ranges hotspot when the data is skewed.

Why do interviews ask about this?

Partitioning to balance load is the sharding interview: minimize the hottest shard, not just split evenly.

How is it scored?

The engine computes the provably-optimal answer for the exact instance you played (dynamic programming, shortest-path, or exhaustive search — never a heuristic) and scores your attempt as a percentage of it. No login needed to see your score.