Skip to content
📝 字数:working on

Linked List Cycle

Estimated time to read: 1 minute

Logic

elements

  • head
  • list
  • pos: index of the node that tail's next pointer is connected to

Constrain

  • cycle code by next pointer still in list

评论