Given a sorted array where every element appears exactly twice except for one element which appears once, find the single element in O(log n) time and O(1) space.
Problem
Given a sorted array where every element appears exactly twice except for one element which appears once, find the single element in O(log n) time and O(1) space.
Your answer
Try one AI text evaluation on us
Get structured feedback, scored against a 4-axis rubric. Premium unlocks unlimited.