Search
⌘K
Get Premium
Leetcode 3595. Once Twice
Given an array where every number appears twice except for two distinct numbers that appear only once, find those two unique numbers. The core challenge is to produce a linear-time, constant-extra-space solution using bitwise XOR partitioning (or equivalently frequency tracking).
Question Timeline
See when this question was last asked and where, including any notes left by other candidates.
All Regions
Comments
Hello Interview Premium
Your account is free and you can post anonymously if you choose.