completed post order traversal(recursive) and min depth of binary tree