@@ -0,0 +1,994 @@
+package ru.matevosyan;%0A%0A/**%0A * Created BiggerRepeatValue fo finding bigger repeating number in array.%0A * Created on 25.01.2017.%0A * @since 1.0%0A * @author Matevosyan Vardan%0A * @version 1.0%0A */%0A%0Apublic class BiggerRepeatValue %7B%0A%0A    /**%0A     * Create to find bigger repeating value.%0A     * @param intNumbers array with which we find bigger number%0A     * @return %3Ccode%3EmaxCount%3C/code%3E%0A     */%0A%0A    public int findRepeatValues(int%5B%5D intNumbers) %7B%0A        int countFor = 1;%0A        int maxCount = 0;%0A        int number = 0;%0A%0A        for (int i = 0; i %3C intNumbers.length - 1; i++) %7B%0A%0A            if (intNumbers%5Bi%5D == intNumbers%5Bi + 1%5D) %7B%0A                countFor++;%0A                if (maxCount %3C countFor) %7B%0A                    maxCount = countFor;%0A                    number = intNumbers%5Bi%5D;%0A                %7D%0A%0A            %7D else %7B%0A                countFor = 1;%0A            %7D%0A        %7D%0A        System.out.println(%22Number%22 + number + %22repeat%22 + maxCount + %22times%22);%0A        return maxCount;%0A    %7D%0A%7D%0A

create BiggerRepeatValue to find bigger repeating value in array