@@ -0,0 +1,981 @@
+package leetcode;%0A%0A/**%0A * https://leetcode.com/problems/house-robber-iii/%0A */%0Apublic class Problem337 %7B%0A    public static class TreeNode %7B%0A        int val;%0A        TreeNode left;%0A        TreeNode right;%0A%0A        TreeNode(int x) %7B%0A            val = x;%0A        %7D%0A    %7D%0A%0A    public int rob(TreeNode root) %7B%0A        // TODO%0A        return 0;%0A    %7D%0A%0A    public static void main(String%5B%5D args) %7B%0A        Problem337 prob = new Problem337();%0A%0A        TreeNode root = new TreeNode(3);%0A        root.left = new TreeNode(2);%0A        root.left.right = new TreeNode(3);%0A        root.right = new TreeNode(3);%0A        root.right.right = new TreeNode(1);%0A        System.out.println(prob.rob(root)); // 7%0A%0A        root = new TreeNode(3);%0A        root.left = new TreeNode(4);%0A        root.left.left = new TreeNode(1);%0A        root.left.right = new TreeNode(3);%0A        root.right = new TreeNode(5);%0A        root.right.right = new TreeNode(1);%0A        System.out.println(prob.rob(root)); // 9%0A    %7D%0A%7D%0A

Create a skeleton for problem 337