Program testing can be used to show the presence of bugs, but never to show their absence. Edsger Dijkstra
The singly linked list contains a sequence of nodes which each node contains data and link to the next node. The last node points to the null value. Write a program to detect and remove the loop in the singly linked list. If the linked list does not contain any loop or cycle, print the appropriate message.
Linked List: 101-->201-->301-->401 Linked List is not cyclic, no loop or cycle found