This is my code for the kth node but i am not able to make the output even after getting the algo …can u correct my code please
Find the kth node in the linked list
it still isn’t working
wanted to know have i written the function code correctly?? of kth node
i am not getting what you are saying… insert at tail i mean which line of code you are talking about??
this is what i have done
but it’s not printing the whole linked list??
kth node from the end right??
and what if i need to print the whole linked list??
Han kth bode from end
just one more thing how can i print the whole linked list??
i mean after deleting the particular kth node now i want to print the remaining linked list
Here you dont need to delete any node right? It’s just asking for print the kth node from end
no no that i got it what question was asking…the other thing i want to try for my own knowledge…like if i want to print the linked list after deleting the particular node then how can i print it??