CRITICALSTART interview question

DSA: A task allocation problem