Novo curso: Como conseguir vagas remotas em empresas que pagam $120k+/ano
NaGringa
CodingMid-level

Leetcode 452. Minimum Number of Arrows to Burst Balloons

Given a list of intervals [x_start, x_end] (endpoints inclusive), find the minimum number of points on the x-axis (vertical arrows) such that each interval contains at least one point. This is the classic interval-stabbing/covering problem: choose the fewest x positions that hit all intervals.

Empresas em que apareceu
AmazonAmazonAtlassianAtlassianGoogleGoogle
Contextos reais

Onde essa pergunta já apareceu

Use esses exemplos para entender em que contexto ela costuma cair e adaptar sua prática.

Amazonmidfev. de 2026

Sem observação adicional neste relato público.

Atlassianseniorjun. de 2025

You're given a list of bookings, each as [booking_id, start_time, end_time]. Assign each booking to a table such that: - No two overlapping bookings share a table. - The total number of tables used is minimized. Return a mapping of table_id to the list of bookings assigned to that table. Each booking is represented as [booking_id, start_time, end_time].

Googlemidset. de 2024

Given intervals, find the minimum set of points S such that each interval has at least one point in S

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.