@@ -0,0 +1,505 @@
+%0Apublic class _100SameTree %7B%0A%09public boolean isSameTree(TreeNode p, TreeNode q) %7B%0A        if (p == null && q == null) return true;%0A        else if (p == null && q != null) return false;%0A        else if (p != null && q == null) return false;%0A        else %7B%0A        %09if (p.val == q.val) return isSameTree(p.left, q.left) && isSameTree(p.right, q.right);%0A        %09else return false;%0A        %7D%0A    %7D%0A%09%0A%09public class TreeNode %7B%0A%09%09int val;%0A%09%09TreeNode left;%0A%09%09TreeNode right;%0A%09%09TreeNode(int x) %7B val = x; %7D%0A%09%7D%0A%7D%0A

Add 100 solution