public class Solution { public boolean hasCycle(ListNode head) { if(head == null || head.next == null)
京公网安备 11010502049817号