singleInteger()
Nov 5, 2021
I have heard about this interview question many times, so this week I decided to take it on. Here is a description of the problem at hand…
Given an array of integers, every element appears twice except for one. Find that single one.
This seems like a very simple problem, but in reality javascript doesn’t have a built in uniq method so it gets pretty complicated.