LinkedIn Interview Question

questions from leetcode- reverse polish notation find maximum depth of binary tree