FIND SUM AT LEVEL K - Input Issue

Hello Team , Can anyone please explain how ot take input for all the tree questions and can some vidoe be shared on how to operate with generic trees and how to create a genric tree also.
FIND SUM AT LEVEL K - Input Issue

@ashu.shaw09 hey ashutosh In generic tree each child has to pair of children so take a child array.
you can refer this.

Hey Ashutosh,
As you are not responding to this thread, I am marking your doubt as Resolved for now. Re-open it if required.

Please mark your doubts as resolved in your course’s “ Ask Doubt ” section, when your doubt is resolved.