Question bank › Bit Manipulation
Dsa Bit Manipulation Medium

Unique Number in Triples

Given an array where every number appears three times except for one, write a program to find that unique number. The program should read the integers from input and output the unique number. For example: Input: [2, 2, 3, 2] Output: 3 Explanation: All numbers except 3 appear three times.

Key concepts

bit_manipulationcounting

Practise this out loud — free

Start a mock interview on THIS exact question — a voice AI interviewer opens with it, pushes back like a real onsite, then hands you an instant scorecard.

🎙 Practise this question now
Part of Praxari's verified interview question bank. We show the prompt and concepts to practise with — never a copy-paste solution.