Pregunta de entrevista de Blackhawk Network

LC hard question about binary tree