Metaseniorfev. de 2026
Got this question. I missed tracking visited.
Find the minimum number of steps from the top-left to bottom-right in a 4-directional binary grid if you may remove up to k obstacles; treat each position together with remaining eliminations as the state and perform a shortest-path search (BFS) over that expanded state space, returning the step count or -1 if unreachable.
Use esses exemplos para entender em que contexto ela costuma cair e adaptar sua prática.
Got this question. I missed tracking visited.
Sem observação adicional neste relato público.
Sem observação adicional neste relato público.
Nenhum anexo público associado a esta pergunta.
No app você encontra perguntas parecidas, compara empresas e aprofunda essa busca com mais filtros.