i didnot understand how loop is working from 134 to136 how temp->next jumps one by one
I didnot understand how loop is working from 134 to136 how temp->next jumps one by one
in line 153 and 159 bhaiya didnt make this function in this video
Please send the link of the code because we don’t have access to the video.
Or copy paste the particular function here.
while (temp->next!=NULL we sttop on second last node because last node is nulll.is it
No. We stop on the last node because of this loop.
Let us consider a linked list - 1 2 3 4 5
5’s next is equal to NULL.
So the loop while(temp->next!=NULL){ temp = temp->next;} gives you the last node of the linked list.
am saying exactly same that 5s next equal to null we make conditon ki jbtk kaam kro jabtk null na aaye but 5s next mai toh 5 kuu print krega
aur agr end tk he jaana tha then hmnse seedha temp!=null kuu ni kia
I am not able to understand your question.
If the linked list is - 1 2 3 4 5
Tell me which node do you want to access?
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.