Pergunta de entrevista da empresa Yext

Graph problem with mines and bombs