Sponsored
Use these hints if you're stuck. Try solving on your own first.
We can select a subset of tasks and assign it to a worker then solve the subproblem on the remaining tasks
Solve with full IDE support and test cases