Find if a given integer x appears more than n/2 times in a sorted array of n integers.
Pictorial representation:
File9.1.png

  
Your score is:       
Copy paste the above completed code in below IDE and run