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

Meeting Room Scheduling - Minimum Rooms Required

Given a list of meeting time intervals, determine the minimum number of conference rooms required so that no meetings overlap. This may involve handling 'Do Not Schedule' periods where meetings should be cut to avoid conflicts. The core challenge is computing the maximum number of concurrent intervals, typically solved via sorting with a min-heap of end times or a sweep-line algorithm of start/end events.

Empresas em que apareceu
BloombergBloombergGoogleGoogle
Contextos reais

Onde essa pergunta já apareceu

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

Bloombergmidjan. de 2025

Write a basic room scheduling app to know the minimum rooms needed if meet times were conflicting

Googlemidnov. de 2024

Schedule non-overlapping meeting intervals with a 'Do Not Schedule' period. Given a list of potentially overlapping meetings and a 'Do Not Schedule' interval, return a list of non-overlapping time intervals when you are in a meeting. Meetings overlapping with the DNS slot should be cut to not overlap.

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.