Check Circular Linked List Leetcode Problem 5430 Rooftop