Metaseniormai. de 2025
Search a 2D Matrix
Given an m×n matrix where each row is sorted and the first element of each row is greater than the last of the previous row, determine whether a target exists in the matrix. Exploit the matrix's global sorted order to perform an O(log(m*n)) binary search (treating it as a flattened 1D sorted array).
Use esses exemplos para entender em que contexto ela costuma cair e adaptar sua prática.
Search a 2D Matrix
Nenhum anexo público associado a esta pergunta.
No app você encontra perguntas parecidas, compara empresas e aprofunda essa busca com mais filtros.