Ankur Dua's submission of Rooted Tree Graph | CodeChef