Whats the point of Master Vertex/Parent ? Is there any relevance of it in the question or we just simply find the nodes with parentCount < childCount && parentCount > 0 , count them and return the count ?
Whats the point of Master Vertex/Parent ? Is there any relevance of it in the question or we just simply find the nodes with parentCount < childCount && parentCount > 0 , count them and return the count ?