Code editor problem

why is the code editor always set to int main? in topics of linked list and trees its really cumbersome to make the node class, take input and solve as well. is there a way around it ?

hi @jatinnagarwal_fd1d1a7b3d77e689 main is default fnction which will be called first, u can arrange the code in functions each function with one responsibility

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.