iam not able to understand the reversal of pointers in a linked list
Reverse of linked list
@Chitwan hey basically three pointers are there current jo current node ko point krrha hai,next jo uski next ko ,prev jo current ke previous ko ,so hme pointers reverse krne hai ,so what we did ki current ka next hmne next mestore kra lia aur current ka next ab previous ho gya aur link ulta and current hmara next hogya,so aise hi current -=current ->next hogya untill tab tk chlega jab tk current null nhi hoga,ek bar ap figure bna kr dry run krke dekho ,you will get it.