Duplicate Interview Slot Detector
Duplicate Interview Slot Detector
EasyArrays0% accepted
Priya schedules technical interviews at Flycodx. The booking system allows candidates to submit multiple slot preferences. She needs to detect if any candidate accidentally selected the same time slot twice—a data quality issue.
Approach
Given array of interview time slots, determine if any duplicate slot appears.
Input
slots=[900,1000,1100,900]
Output
true
More Arrays problems
Browse all coding problems →solution.py
Loading editor...
Test 1
Test 2
Test 3
Press Run to test your custom input, or Submit to judge against all test cases.
Sign in to continue
Create a free account to run code, submit solutions and track progress.
- Free forever — no credit card
- 10+ languages with live execution
- Points, streaks & leaderboards