Https://ide.codingblocks.com/s/61118

getting run time error.
The code is for printing the sum of the kth levelhttps://ide.codingblocks.com/s/61118

Hi Yash, please read the question properly. The question states that "Take input of a generic tree ". A generic tree is a tree which has arbitrary number of children. You’ve considered it as a binary tree.