About this puzzle

Fewest VMs — practice the decision, scored against the optimum

What does the Fewest VMs puzzle teach?

Packing services onto the fewest capacity-bounded VMs is bin packing — first-fit-decreasing can waste a VM; the true minimum needs a search.

Why do interviews ask about this?

Bin packing is the everyday capacity question — the fewest fixed-size VMs for a set of service instances — and reasoning past first-fit to the true minimum is exactly what infra interviewers probe.

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.