public static void main(String args[]){
        MaxRepeatingNumber mrn = new MaxRepeatingNumber();
        int arr[] = {2,2,1,3,1,2,0,3,0,0,0,4,5,4,4,4,4};
        System.out.println(mrn.maxRepeatingNumber(arr, 6));
    }
http://www.geeksforgeeks.org/find-the-maximum-repeating-number-in-ok-time/
Given an array of size n, the array contains numbers in range from 0 to k-1 
where k is a positive integer and k <= n.
Find the maximum repeating number in this array
src/com/interview/array/MaxRepeatingNumber.java