For detecting the presence of cycle in linked list.
Also named as tortoise and the hare algorithm. The algorithm is named for Robert W. Floyd, who was credited with its invention by Donald Knuth.
It also finds out the start of the loop in the linked list.