https://leetcode.com/problems/missing-element-in-sorted-array/description/ Given an integer array nums which is sorted in ascending order and all of its elements are unique and given also an integer k, return the kth missing number starting from the leftmost number of the array.
CodingSenior
Leetcode 1060. Missing Element in Sorted Array
Given a sorted strictly increasing array with gaps, find the k-th missing integer that does not appear in the array. The core challenge is computing how many numbers are missing up to each index and using that (often via binary search) to locate the interval containing the k-th missing value.
Contextos reais
Onde essa pergunta já apareceu
Use esses exemplos para entender em que contexto ela costuma cair e adaptar sua prática.
Metaseniorjul. de 2025
Anexos públicos
Materiais associados
Nenhum anexo público associado a esta pergunta.
Próximo passo
Depois de treinar essa pergunta, vale abrir outras do mesmo tipo e da mesma senioridade para comparar padrões de resposta.
Isso ajuda a sair da memorização de uma resposta só e entrar em repertório real de entrevista.
Continue a preparação com o banco completo
No app você encontra perguntas parecidas, compara empresas e aprofunda essa busca com mais filtros.