Pregunta de entrevista de Ocient

Asked a question to implement BFS