Get the number with maximum repetitions in a sorted array of integers

By rahul - Last updated: Thursday, August 28, 2014

Given a sorted array of integers, write a function that will return the number
with the biggest/maximum number of repetitions

Below are two methods to implement the code.

Method2 is based on jumping logic.





Filed in Interview Questions