Write a program which take numbers 1 to 20 as input. 50 numbers are taken as input. You need to output the number appears the most number of times. Assume unique answer to above problem.
Answers
Answered by
2
Hey mate....
here's the answer....
Create a temporary array of size (k-1) to store elements and their counts (The output elements are going to be among these k-1 elements). Following is structure of temporary array elements.
Hope this helps❤️
Answered by
1
Explanation:
Heya mate.....
create a temporary array of size to store elements and their counts assume unique number to every problem
Similar questions
Computer Science,
6 months ago
English,
6 months ago
History,
1 year ago
Math,
1 year ago
English,
1 year ago