Quick Overview

Given the steps of making a cake, each with a duration in minutes, and pairs stating which step must finish before another can start, return the minimum total time to finish every step when any number of steps can run at once. Tests reasoning over a directed acyclic dependency graph and parallel scheduling.

Minimum Time to Finish Dependent Cake-Making Steps When Steps Can Run in Parallel

Company: Amazon

Role: Software Engineer

Category: Coding & Algorithms

Difficulty: medium

Interview Round: Technical Screen

Overview: Given the steps of making a cake, each with a duration in minutes, and pairs stating which step must finish before another can start, return the minimum total time to finish every step when any number of steps can run at once. Tests reasoning over a directed acyclic dependency graph and parallel scheduling.

Read the full Amazon Software Engineer interview experience this question came from

Minimum Time to Finish Dependent Cake-Making Steps When Steps Can Run in Parallel

Amazon • Software Engineer

Loading…