You are viewing a single comment's thread. Return to all comments →
If it is both head and the while loop starts with equality check, wont it always be true
Seems like cookies are disabled on this browser, please enable them to open this website
Linked Lists: Detect a Cycle
You are viewing a single comment's thread. Return to all comments →
If it is both head and the while loop starts with equality check, wont it always be true