Floyd cycle _linked list

how do we take linked list as input having cycle.

In a question like this, ideally you would be already provided with a linked list.