HashedIn by Deloitte interview question

given a linked list find whether there is loop or not