max/min depth of binary tree