Workflow Dependency Scheduler with Critical Path Analysis - Coding problem | OneNoughtOne