AMD Interview Question

Given a linked list, how to check if it has a loop?