Find the number that appears once when every other number appears three times
Company: AMD
Role: Software Engineer
Category: Coding & Algorithms
Difficulty: medium
Interview Round: Other
Overview: Given an integer array where every value appears three times except one, return the value that appears exactly once in linear time with constant extra space. It tests bit manipulation when the pairwise cancellation trick no longer works, and careful handling of negative 32-bit values.