Linked Lists: Detect a Cycle

  • + 5 comments

    How do you know that the fast pointer will go through the loop only twice? Written out it makes sense, but do you know of any good sources suppourting that?