Credex Technology interview question

cycle in a linked list