Floyd's cycle problem

If i want to enter a circular linked list then how would i enter


please corect the code

hi @Megha2468
to create cycle you need to find where it is repeating
and then note this data and using this data make cycle

you can refer this code

if you are not able to understand any part of this code
you can ask i will help you

sir the code is not running .It shows error

which code is showing error???

in my code you have to remove line no 84 it is to take input from particular file

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.