Linked List Insertion


Why i m getting wrong answer at Insertion at Tail

@Gade_Deepthi hey let me check your code.

@Gade_Deepthi hey your logic is not correct,you have to traverse linked list upto last node only not upto null ,and create a new node and make next of last node to new node and make next of new node null ,correct your logic please.

okk i got it.Thank you.

@Gade_Deepthi your welcome

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.