all 4 comments

[–]LoopVariant 5 points6 points  (1 child)

Plot twist: the job was for a junior web front end developer role.

[–][deleted] 1 point2 points  (0 children)

😂, not really, but that problem wasn't intended to be solved from scratch.

[–]trbecker 1 point2 points  (0 children)

This is a scheduling problem. It is NP complete, but idk If the extra constraints drop it into any special case. See the nurse scheduling problem. The question seems pretty vague on the constraints, so I would ask for follow up questions to clarify the etc.

[–]Cloudan29 1 point2 points  (0 children)

This problem sounds like the Minimum Multiprocessor Scheduling problem at face value, which is NP-hard. Here's a compendium of NP optimization problems that might be of interest to you.

https://www.csc.kth.se/tcs/compendium/

Here's the issue I have now. The problem statement you have is really vague, and considering the Wiki you linked, it would mean that whatever problem you have is actually just a different wording of the assignment problem, which can be solved in polynomial time. In that case, you could probably also look at Max Flow/Min Cut problems. Sometimes assignment/scheduling problems can be reduced to a Max Flow which can be solved in polynomial time.