How do i take input in this case

please tell how do i take input in this problem

@kushagrapathak0987 hey kushagra pathak in this question we have to build function for generic tree in generic tree each node has two child for generic tree you can refer this.

Hey Kushagra,
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.