You are viewing a single comment's thread. Return to all comments →
Indeed, this solution is correct. Problem is - it doesn't pass the test. I guess their test is broken for this problem.
Cycle Detection
You are viewing a single comment's thread. Return to all comments →
Indeed, this solution is correct. Problem is - it doesn't pass the test. I guess their test is broken for this problem.