Pergunta de entrevista da empresa Meta

a binary tree path problem and a search problem