Find the Element that Appears Once

Teiva Harsanyi
Jun 27, 2020 · 1 min read


  • Find the only element that appears once
In an unsorted array of integers, every element appears twice except for one element that appears only once. Return this element.Example:Input: a=[1, 4, 2, 4, 1, 3, 2]
Output: 3
Follow me on Twitter @teivah


Solving Algo