Pregunta de entrevista de Meta

Some leetcode questions, two binary tree problems