All Problems

Single Number II

MediumbitsExpected: O(n) time, O(1) spaceInterview Context
bit-manipulation

Problem

Given an integer array where every element appears three times except for one which appears exactly once, find the single element.

Loading...