Circular linked list


unable t print correct broken cycle

Refer this https://ide.codingblocks.com/s/253411
First create a circular linked list
Then apply Floyd’s Cycle detection algorithm, break the cycle and finally print the new linked list formed.