Angel One interview question

Easy to medium level leet code question . Detect the cycle in the linked list