Kth Node from the end

sir please review my code, if any changes required then please do the needful.

hello @heyiamtushar

logically ur approach is correct.

pls share ur complete code so that i can submit and make changes if needed

https://ide.codingblocks.com/s/486841 sir, this my full code, please review

yeah it looks fine.

a) u are always inserting new node in the start becuase of which the list is getting reverse

okay, thank you so much !!

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.