Task Processor with Subtasks: a task becomes runnable only after all its subtasks finish

Asked at Scale AI · Coding Questions · Difficulty: Medium · Last asked Jul 15, 2026

Building on the basic Task Processor, each task may have multiple **subtasks**. A task can be processed only after **all of its subtasks** have been processed.

Loading the problem…