add solutions for min/max depth of binary tree.