Sobes.tech
Junior — Senior

Finding the single unique number in an array

livecode

Task condition

Given an array of integers, which is guaranteed to be non-empty. In this array, every element appears exactly twice, except for one number that appears only once. It is required to write an algorithm that returns this single number.