LeetCode
Smallest Sufficient Team
Click
here
for an explanation.