Delete Nodes And Return Forest

mediumSolve on LeetCode