Linked list : FLOYD'S ALGO DOUBT

To detect the cycle I have made detect cycle and for cycle removal another function…

But looks like there some concept issue here…
cycle is made there and at detection it returns false…

Also removal function after returning head it doesn’t make nay changes to the link list…!!

this is my code :
https://ide.codingblocks.com/#/s/15588

Hii ! , i have commented out thte mistakes , you can check it out here
https://ide.codingblocks.com/#/s/15616

1 Like