public TreeNode pruneTree(TreeNode root) {
        if (root == null)
            return root;
        if (prune(root) && root.val == 0) {
            return null;
        }
        return root;
    }
Why Did you create this class? what does it do?
src/problems/medium/BinaryTreePruning.java