Is this code correct or Do I have to declare at each and every step

Is this code correct or Do I have to declare at each and every step.
I think that will be wrong.

Hey @cbcao263 please explain your problem briefly, I am unable to understand. Thank you :grinning:

I just simply declared the linked list and completed the function for that.

So is it giving you any error for that?

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.

YUp, Getting some errors in making of LL.