Pregunta de entrevista de Georgia Tech Research Institute

A general question regarding returning an ordered list from a tree using BFS.