Your Dashboard
Interview Coaching
Learn
System Design
ML System Design
Code
Behavioral
Salary Negotiation
Interview Guides
Search
⌘K
Get Premium
Leetcode 3440. Reschedule Meetings for Maximum Free Time II
Given non-overlapping meetings within [0, eventTime], you may move at most one meeting (keeping its duration and staying inside the event, with no overlaps) to maximize the length of the longest continuous free time interval; return that maximum. With n up to 1e5 and times sorted, the challenge is to pick which interval to relocate and where to insert it to best create or merge gaps (prefix/suffix/gap analysis rather than brute force).
Question Timeline
See when this question was last asked and where, including any notes left by other candidates.
All Regions
Comments
Hello Interview Premium
Your account is free and you can post anonymously if you choose.