Blogger

Delete comment from: Javarevisited

Anonymous said...

Does this solution also known as Floyd's Cycle-Finding Algorithm for detecting cycle on linked list? I was to explain this algorithm on an Interview but I didn't know that two pointer algorithm is also known as Floyd's Cycle Finding algorithm. Please suggest if my understanding is correct.

May 25, 2016, 1:51:59 PM


Posted to How to find If Linked List Contains Loop or Cycle in Java? Example Solution

Google apps
Main menu