Wrie a function which returns the most frequent number in a list of integers. Handle the case of more than one number which meets this criterion.
public static int[] GetFrequency(int[] list)
ques on function which i was given in a test. can anyone help in solving it??
|