Find the integer with max repetitions in a given array - Amazon interview question

Published --