Find the Unique Number

Solve a problem based on bit-masking to find a unique number.

Problem statement

You are given a list of numbers in which every number is occurring twice except for one number. Find out the unique number.

Solution: Bit-masking approach

For this problem, we can use the logical XOR ...