Floyd's Cycle Detection
Try it yourself
One step against two, until they meet or the list runs out
slow = fast = headboth pointers start at the headTry it yourself
One step against two, until they meet or the list runs out
slow = fast = headboth pointers start at the head