You are viewing a single comment's thread. Return to all comments →
what about set? thats a data structure specifically designed for membership checks.
Linked Lists: Detect a Cycle
You are viewing a single comment's thread. Return to all comments →
what about set? thats a data structure specifically designed for membership checks.