Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CPP

Linked List Cycle

Input: head = [3,2,0,-4], pos = 1
Output: true
Explanation: There is a cycle in the linked list, where the tail connects to the 1st node (0-indexed).
Source by leetcode.com #
 
PREVIOUS NEXT
Tagged: #Linked #List #Cycle
ADD COMMENT
Topic
Name
5+8 =