In Java, given the array A[a,a,b,b,b,c,d,e,e] return \'b\' because it appears consecutively more than any other element in the array. I have tried comparing each element with th