Goldman Sachs Interview Question

leetcode problems of binary tree