Back to course home
0% completed
LinkedList Cycle (easy)
Problem Statement
Given the head of a Singly LinkedList, write a function to determine if the LinkedList has a cycle in it or not.
Constraints:
- The number of the nodes in the list is in the range [0, 104].
- 105 <= Node.val <= 105
Try it yourself
Try solving this question here:
.....
.....
.....
Like the course? Get enrolled and start learning!