This is an interview question.
Given an array of integers, find the single integer value in the array which occurs with even frequency. All integers will be
Given this is an interview question, the answer is: O(1) space is achievable "for very big values of 1":
The space for this is large, but independent of the size of the input array, so O(1) space. For really big data sets (say small value range, but enormous array length), this might even be a practically valid solution.