Domanda di colloquio di Oracle

Given a linked list, check whether the linked list contains a loop. (Written Code)