Verily Interview Question

leetcode style questions, trees, backtracking, stacks