can u please explain me the meaning of
head->next->next=head
is it changing only in address or it is pointing to new node
Understanding one line
Hey @TheSourabh
SAY we had 1->2->3 -> 4 as LL
then after this line
(1’s->next i.e 2’s)->next will point to 1
so its now 1 point to 2 and 2 point to 1