At 7:39 Look at else condition

Why shouldn’t it be temp->next = n->next. Can it be Like that? I am Confused here. Let me know

@JaveedYara but we want temp->next to point AT n, not its next. You can try dry running it once, it will make sense.

1 Like

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.

1 Like