for (int i = 0; i < n; i++) // loop to take input of the elements of the array arr[i] = sc.nextInt(); int max_freq = 0; // variable to store the maximum frequency int num = 0; // variable to store the ...
Some results have been hidden because they may be inaccessible to you
Show inaccessible results