Pergunta de entrevista da empresa Blackhawk Network

LC hard question about binary tree