Write a basic room scheduling app to know the minimum rooms needed if meet times were conflicting
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.
Onde essa pergunta já apareceu
Use esses exemplos para entender em que contexto ela costuma cair e adaptar sua prática.
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.
Materiais associados
Nenhum anexo público associado a esta pergunta.
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.