add maximum depth of binary tree and single number