Untitled

Anonymous
plain_text
10/13/2023 8:37 AM
516 B
18
Indexable
i have one dsa question asked in interview can you help me code in java
Find the process id responsible for the crash from the list of process ids.
Basically, you need to find the root element from among these elements. Root is the only one that doesn't have a parent.
So if that element occurs in any of the other child elements, then it is not the root, similarly search and backtrack.
Editor is loading...