Search
⌘K
Get Premium
Leetcode 2446. Determine if Two Events Have Conflict
Given two inclusive time intervals on the same day in HH:MM format, determine whether they overlap (i.e., have any common moment). Because times are fixed-width, you can compare them lexicographically or convert to minutes and check if max(start1,start2) <= min(end1,end2).
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.