Reported interview periodNot available
Earliest Completion Time in a Data Pipeline
A pipeline consists of tasks (inputs, output, duration). A dataset never produced by any task is a source available at time 0. A task may start as soon as every input is available, and independent tasks run in …
Practice focusImplement: Return the earliest time at which goal is available. A goal that is already a source returns 0 . Reject negative durations, duplicate output producers, dependency cycles, and unknown goals with ValueError . Durations are non-negative non-boolean integers; dataset names are strings. A known source is a dataset mentioned as an input but never produced; an arbitrary unmentioned name is unknown. Validate the complete pipeline, including cycles disconnected from the goal. Duplicate input names do not require multiple executions.…