"""
https://leetcode.com/problems/check-if-a-number-is-majority-element-in-a-sorted-array/

#TODO

see https://leetcode.com/problems/check-if-a-number-is-majority-element-in-a-sorted-array/discuss/355470/Python%3A-Two-Ways-O(N)-and-O(logN)

Majority element basket:
https://leetcode.com/problems/majority-element/
https://leetcode.com/problems/majority-element-ii/
https://leetcode.com/problems/check-if-a-number-is-majority-element-in-a-sorted-array/
"""

class Solution(object):
    def isMajorityElement(self, nums, target):
        """
        :type nums: List[int]
        :type target: int
        :rtype: bool
        """