Why is the code not showing the output??
Code https://ide.codingblocks.com/s/120741
Doubt in Linked List K-reverse
@ratulhans hey ratul this is may be because of deep and shallow copy concept as you have not passed head with the help of the reference operator as every time shallow copy of head is created and linked list is not forming properly for more concept watch all the video of the linklist carefully where bhaiya talked about this problem
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.