⌘K
Flycodx

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
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
Auto Save OnLn 1, Col 1Spaces: 4UTF-8LFPython 3