i tried all the corner test cases
code runs perfectly but it always show run time error in one test case out of 10 .
can you please help me
One test case show run time error
sample test case
5 -1
output
No cycle
Linked List -
Do dry run your code using this sample test case .
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.