For this approach to be successful, which of the following must be true about your array?
I. It is sorted.
II. It is unimodal.
Details
The mode is defined as the element which appears most often in a set. If more than one element appears most often, the mode is that set of elements which appear most often.
Your answer seems reasonable.
Find out if you're right!