Sample Input expected output different from the sample one mentioned

One of the test cases is from the sample inputs where there is just one element in the linked list with no cycles. However, the output is expecting it to say that a cycle is found and my submission is failing. Is anyone else also facing the same issue?

Input:
[1]
-1
Output:
true

Comments (0)