Easy
Quiz
#136 Single Number
APPROACH
You are given a non-empty integer array nums where every element appears exactly twice except for one element which appears only once.
Find and return that unique element.
Your solution must run in linear time using only constant extra space.
1 of 4
1:00
What is the optimal approach for this problem?