DeepOffer

Find the maximum contiguous free slot for two people, then the max slot if you may flip one busy slot to free.

ML CodingReported interview question
Premium question

This is a premium question from DeepOffer's 2026 ml coding interview bank. Members get the full model answer — what interviewers are really testing, the step-by-step reasoning, common mistakes to avoid — plus AI voice mock interviews with live follow-ups and a scored report.

Unlock the full model answer

Join DeepOffer to unlock this and 347 more premium questions.

Unlock premium bank

Practice this question with an AI interviewer

Get asked follow-ups live, then receive a scored report — like a real MLE interview loop.

Start AI mock interview