Print duplicate elements
Filed under GlobalLogic · Also reported at WNS Vuram
The question
Given an integer array, print only the duplicate elements.
No write-up yet. Related questions below have one.
Related GlobalLogic questions
Collected from public candidate posts and coding forums. Updated Nov 2026.