Back to problems

Minimum Additional Capabilities to Equalize Team Work Hours

Algorithm · Expedia · Medium

Problem A company wants to reduce work hours by providing additional capabilities to its teams. Each team's work hours are determined by the capabilities available to that team. Given the number of teams, their existing relationships, and their current capacities, determine the minimum number of additional capabilities required so that all teams satisfy the minimum requirement and have equalized work hours. Function Signature Input n — the number of teams.…

Checking your access…