Problem 1125 · Hard

Smallest Sufficient Team

Map skills to bits and track the smallest team for each set of covered skills, extending it one person at a time.

Open the interactive visualisation