Razorpay interview question

Find the cycle in LinkedList