Pergunta de entrevista da empresa Amazon

BFS (Dry Run, Optimal Code, Space & Time Complexity)