Your Dashboard
Interview Coaching
Learn
System Design
ML System Design
Code
Behavioral
Salary Negotiation
Interview Guides
Search
⌘K
Get Premium
Leetcode 582. Kill Process
Given lists of process IDs and their parent IDs plus a target PID to kill, return that PID and all its descendant PIDs in the process tree; core task is to build a parent→children adjacency and traverse (DFS/BFS) to collect the subtree.
Question Timeline
See when this question was last asked and where, including any notes left by other candidates.
All Regions
Comments
Hello Interview Premium
Your account is free and you can post anonymously if you choose.