Pergunta de entrevista da empresa Georgia Tech Research Institute

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