Problem Statement

Given a sorted array where:

Every element appears exactly twice.

Only one element appears once.

Find the single element in O(log N) time and O(1) space.