A = [5 9 3 4];; %number of days to complete a work
i have 2 set of workers, start time = 0;0 + 5 = 50 + 9 = 9
then i need to check which work gets completed first and then allocate that worker to the next work, so next work takes 8 days to complete
endtime_of_first_completed_work + next_work's_numberofdays
doing so i need to get,
[5 9 8 12]
Best Answer