Check If a Number Is Majority Element in a Sorted Array - DSA Problem | Talentd