question -Given an array find the number which comes with maximum frequency. It must work in O(n) time complexity.
Input Format
Enter the size of the array N and add N more numbers and store in an array
Constraints
Output Format
Display the number with the maximum frequency.
Sample Input
5
1
2
2
2
3
my solution -one test case fail https://ide.codingblocks.com/s/120094