+ 1
Find most frequent element in array
Hello! I'm having trouble getting the right output from this code. The purpose of it is to find the most frequent number, print it out and also print out how many times it appears. https://code.sololearn.com/c19gWXb3GZ75/?ref=app
2 Antworten
+ 1
Baptiste E. Prunier thank u very much! :)
0
I corrected it in the code bellow. Sololearn does not show all compilation / execution errors so it is hard to find a problem using this IDE.
If you have any question (about this code or about something else), I will be glad to try to help you ! :)
https://code.sololearn.com/cyuv9H01iRGl/?ref=app