Linked Lists: Detect a Cycle

  • + 1 comment

    Great explanation. I believe

    i = kL where kL >= N.
    

    should be

    i = kL where i >= N.