Single Element in a Sorted Array

Ventured into LeetCode and randomly selected the Single Element in a Sorted Array┬áchallenge. The requirements are very straight forward. Make sure you pay attention to the following Note: Your solution should run in O(log n) time and O(1) space. Continue reading “Single Element in a Sorted Array”