https://ide.codingblocks.com/#/s/18354
https://hack.codingblocks.com/contests/c/456/533
HIGHEST FREQUENCY( HASHING ) plz help
link of question is not opening post the question here
just take another array and intialize it with 0 now when u enter the number in the original array just increment index of that number in another array by 1 and same goes for all .Now iterate on second taken array and find the largest and cout its index
can u plz share the code.
Here , I am giving you the code in which i have written not only using array but with other solution using map also
https://ide.codingblocks.com/#/s/18658