Circular linked list 6568

https://ide.codingblocks.com/s/55214
loop has been removed but can’t display the linked list after loop is removed

Hi Aastha, you need to use Floyd’s Cycle detection algorithm to solve this problem. You need to create two functions - the first function will detect whether a loop is present in the given linked list or not. And the other function will remove that loop from the linked list. Read more about Floyd’s Cycle detection algorithm and divide your code in the two functions as I’ve mentioned above.