How can a cycle be detected in a singly linked list?

Question asked by visitor mahesh dixit