Workflow Service: Create and Execute Dependent Steps

Asked at FurtherAI · Coding & Leetcode-style Questions · Difficulty: Medium · Last asked Oct 5, 2026

Build a small workflow service with two operations: **create** a workflow and **execute** it. A workflow is a named list of steps. Each step names an operation and the steps it depends on. Executing a workflow runs every step exactly once, each after all of its dependencies, and passes a payload dictionary from one step to the next.

Loading the problem…