360 ONE interview question

Detect a loop or cycle in LinkedList