Question 12
You are given a non-empty list of integers sorted in ascending order. Every element in the list appears exactly twice, except for one element that appears only once. For example, the list may look like , where the element 3 appears only once. What is the time complexity of the most efficient algorithm to find the element that appears only once?
—
—
—
—