Everything is fine ...... only the last element is not link to previos head
@dishant_rahangdale if you want head to hold some new value, you have to assign it to that, but you have not assigned head anything throughout the new function…then how will it change
i am not getting the fault please edit the code
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.