Select your answers. Once selected, you cannot change them.
Given an array where every element appears twice except for one element which appears once, write a function to find that single one.
Input: [2, 3, 5, 4, 5, 3, 4] Output: 2
Write your solution below: