nums[i] is the parent of node i. Decide whether the array describes one valid tree. Too many requests from your network. Please wait a minute.