Find the most common number
EASYGiven an input string with numbers separated by a single space.
Find the most common number in this line.
Example #1
Input
1 2 3 2 4 4 2 5
Output
2
Given an input string with numbers separated by a single space.
Find the most common number in this line.
1 2 3 2 4 4 2 5
2