Verily interview question

leetcode style questions, trees, backtracking, stacks