Pergunta de entrevista da empresa Meta

Define a binary tree and output all the node to leaf paths of it.