What to do in a linked list that has a loop
Anonymous
Tried my best but didn't figure it out. Apparently you should use 2 pointers and increment one by one and one by two and see if they meet.
Check out your Company Bowl for anonymous work chats.
Copyright © 2008-2026. Indeed, Inc. "Glassdoor," "Worklife Pro," "Bowls," and logo are proprietary trademarks of Indeed, Inc.