Pregunta de entrevista de Shopee

question about binary tree (BFS)