Pregunta de entrevista de Meta

Tree problems are very popular.