Dsa
Hashing
Warm-up
Find Duplicate Integer
Given a list of integers, find and print any duplicate integer in the list. If no duplicates are found, print 'No Duplicates'. The input is a single line of space-separated integers.
Example:
Input:
1 2 3 4 5 1
Output:
1
Key concepts
hashingarraysduplicates
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