Question bank › Intervals
Dsa Intervals Warm-up

Social Media Post Scheduler

You are managing social media posts, and you need to check if any posts overlap based on their scheduled times. Each post is represented by a start and end time. Your task is to determine if all posts can be scheduled without any overlap. Return 'No Overlaps' if all posts can be posted without conflict, otherwise return 'Has Overlaps'. Input format: A single line of space-separated integers representing start and end times of posts (e.g., '10 15 12 18 20 30'). Output format: Return 'No Overlaps' or 'Has Overlaps'. Example: Input: 10 15 12 18 20 30 Output: Has Overlaps

Key concepts

intervalspostingscheduling

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
Part of InterviewLab's verified interview question bank. We show the prompt and concepts to practise with — never a copy-paste solution.