You are given a tree of N+1 levels from 0 to N .There is only one node at the level 0 that is called as root. There is an array CNT of size N where CNT[i] denotes the nu