Find Critical Nodes

https://algo.monster/problems/find_critical_nodes

Why root (0) is not in the list?. i think output should be (0,2,3,5)