Write code to tell if there is a loop in your linked list.
Anonymous
Set two pointers to the head of a linked list. As you move along, increment one pointer twice as much as the other pointer. If they ever point to the same thing, you have a loop.
Check out your Company Bowl for anonymous work chats.