InterviewDigestInterviewDigest

OA Practice Workspace

Technical2026-08-12

Write a function to schedule a meeting of a certain duration with a co-worker

AI-Expanded — inferred from the question title, not from the original candidate report

Given two lists of busy time intervals for two employees and their respective daily working hour constraints, write a function to find the earliest available time slot of a specified duration where both employees are free. If no such slot exists within the given working hours, the function should return an empty result.

Context & Summary

The interviewer asked the candidate to solve a DSA problem and write code for it.

💻 Coding practice works best on desktop.
Code editors are too cramped on mobile screens.