filmov
tv
Single Element in a Sorted Array | LeetCode Brute Force Approach Problem 540

Показать описание
This is not an optimal solution I just wanted to show you how it can be done using brute force and especially using bitwise operator. The time complexity of the program is O(N). Do not submit it in LeetCode as it want the solution to be in time complexity of O(logn).