Goldman Sachs logoGoldman Sachs
Coding·60 minMembers

Second-Smallest Unique Element

Members only

Return the second-smallest value among elements that occur exactly once in the input array. Intern-level Superday warm-up.

SWE
array
hashmap
easy
Frequency
Single report
Last asked
2024-11-14
Stage
phone-screen · onsite-coding

Log in to continue reading the full content

Comments

Sign in to join the discussion
Loading...