Given the head pointer to a linked list , complete the function to check whether there is a cycle present in the linked list. If so , modify the linked list to remove the cycle.
Note : You are only supposed to update the designated function. Do not change/alter the remaining code or your program may not work.https://ide.codingblocks.com/s/621413