public static boolean hasCircle(ListNode node) {
		for (ListNode one=node,two=node==null?null:node.next;two!=null;one=one.next, two=two.next==null?null:two.next.next)
			if (one==two) return true;
		return false;
	}