public static void connect(TreeLinkNode root) {
        if (null == root) return;
        TreeLinkNode parent = root;
        TreeLinkNode node = null;
        while (null != parent.left) {
        	node = parent;
        	while (null != node) {
	        	node.left.next = node.right;
	        	if (null != node.next) node.right.next = node.next.left;
	        	node = node.next;
        	}
        	parent = parent.left;
        }
    }