You are viewing a single comment's thread. Return to all comments →
I opted for this too due to simplicity. Other than the additional space used I wonder if theres any disadvantage to our approach.
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 →
I opted for this too due to simplicity. Other than the additional space used I wonder if theres any disadvantage to our approach.