Pergunta de entrevista da empresa Shopee

Find the shortest hop between 2 nodes in a graph