Dsa
Intervals
Easy
Interval Conflicts
You are given a list of scheduled meetings in 'HH:MM-HH:MM' format. Determine if there are any conflicts among the meetings. Print 'Conflicted' if there are conflicts, otherwise print 'No Conflict'.
Input:
- A single line containing space-separated meeting intervals.
Output:
- A single line indicating whether there are conflicts or not.
Example:
Input:
09:00-10:00 09:30-10:30 11:00-12:00
Output:
Conflicted
Key concepts
intervalsconflict detection
Practise this out loud — free
Start a mock interview on THIS exact question — a voice AI interviewer opens with it, pushes back like a real onsite, then hands you an instant scorecard.
🎙 Practise this question now