Pregunta de entrevista de TRIOLOGY

The question was based on trees and graphs.