/* public class TreeNode { public int val; public TreeNode left; public TreeNode right; public TreeNode (int x) { val = x; } }*/ using System; class Solution { public int depth(TreeNode root) { if (root == null) return 0; if (root.left == null && root.right == null) return 1; return Math.Max(depth(r...