LC: 582. Kill Process
https://leetcode.com/problems/kill-process/
Input: pid = [1,3,10,5], ppid = [3,0,5,3], kill = 5
Output: [5,10]
Explanation: The processes colored in red are the processes that should be killed.Input: pid = [1], ppid = [0], kill = 1
Output: [1]Last updated
