solved [maximum depth of binary tree]