โ† HSBC questions

Find duplicate element in an array

Filed under HSBC

Given an array of integers, find and return any one element that appears more than once in the array. If multiple duplicates exist, returning any one of them is acceptable.

You've read your 3 free write-ups

Sign up free to keep reading. Your account opens the first 10 questions of every company.

Related HSBC questions

Collected from public candidate posts and coding forums. Updated Nov 2026.