C # implementation of nodes at prime height in the given tree
using System ; using System . Collections . Generic ; class GFG { static readonly int MAX = 100000 ; static List < int > [ ] graph = new List < int > [ MAX + 1 ] ;