Pergunta de entrevista da empresa LinkedIn

One is binary tree search, one is BFS