Program to detect a Loop in a Linked List

Please write your own version of program in the comment section below in different languages. Best answer will be uploaded on the website page once, the page is ready

Prepare Better for Placement Papers