Skip to content

Latest commit

 

History

History

08_19_linked_list_cycle

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

Linked List Cycle

Complete:


Questions

141. Linked List Cycle

  1. Why slow pointer and fast pointer have to meet inside cycle if there is cycle rather than miss each other forever?

142. Linked List Cycle II

  1. Why fast pointer traverse one cycle at least before meeting?
  2. Why slow pointer only traverse one cycle when they meet instead of multiple cycles?

linked_list_cycle