CheckRed Security interview question

How to find loop is present in Linked list