Check If Circular Linked List Leetcode