Commit Solution1 for Maximum Depth of Binary Tree