540. Single Element in a Sorted Array
Problem Statement
Input: nums = [1,1,2,3,3,4,4,8,8]
Output: 2Input: nums = [3,3,7,7,10,11,11]
Output: 10Intuition
Links
Video Links
Approach 1:
Approach 2:
Approach 3:
Approach 4:
Similar Problems
Last updated