Metaseniormar. de 2026
LC 1926
Given a grid maze with walls ('+') and empty cells ('.'), find the minimum number of up/down/left/right moves from the given entrance to the nearest exit (an empty border cell, excluding the entrance). This is a shortest-path problem on a grid, typically solved with BFS to return the distance to the nearest exit or -1 if none is reachable.
Use esses exemplos para entender em que contexto ela costuma cair e adaptar sua prática.
LC 1926
Nenhum anexo público associado a esta pergunta.
No app você encontra perguntas parecidas, compara empresas e aprofunda essa busca com mais filtros.