Question d’entretien chez Amazon

BFS with Typescript and return nodes with certain attribute values.