package leetcode;

/**
 * https://leetcode.com/problems/increasing-order-search-tree/
 */
public class Problem897 {
    public static class TreeNode {
        int val;
        TreeNode left;
        TreeNode right;

        TreeNode(int x) {
            val = x;
        }
    }

    public TreeNode increasingBST(TreeNode root) {
        // TODO
        return null;
    }

    public static void main(String[] args) {
        
    }
}

@@ -421,16 +421,497 @@
         
+Problem897 prob = new Problem897();%0A        TreeNode root = new TreeNode(5);%0A        root.left = new TreeNode(3);%0A        root.left.left = new TreeNode(2);%0A        root.left.right = new TreeNode(4);%0A        root.left.left.left = new TreeNode(1);%0A        root.right = new TreeNode(6);%0A        root.right.right = new TreeNode(8);%0A        root.right.right.left = new TreeNode(7);%0A        root.right.right.right = new TreeNode(9);%0A%0A        System.out.println(prob.increasingBST(root));
 %0A    %7D%0A%7D

Update prolem 897