You are given two inputs: (1) a list of worker names, and (2) a list of tasks, where each task is a map containing an id and a duration (representing workload/execution time). The problem is presented in progressive parts: Part 1: Assign each task to the worker currently carrying the…