Pergunta de entrevista da empresa Meta

Some leetcode questions, two binary tree problems