Search
⌘K

Leetcode 1767. Find the Subtasks That Did Not Execute

Given a directed hierarchy/DAG of tasks and their subtasks and a log of executed subtask IDs, identify which subtasks were never executed (including those unreachable through dependency chains). This requires graph traversal/marking or set-difference approaches that handle nested dependencies and large input sizes efficiently.


Question Timeline

See when this question was last asked and where, including any notes left by other candidates.

Comments

Your account is free and you can post anonymously if you choose.

Leetcode 1767. Find the Subtasks That Did Not Execute | Hello Interview