Hi, could I ask how I can solve this problem in Java using hashtables?
The input begins with an integer 1 ≤ ? ≤ 10000, the number of frosh. For each frosh, a line follows containing the course numbers of five distinct courses selected by the frosh. Each course number is an integer between 100 and 499.
Thepopularity of a combination is the number of frosh selecting exactly the same combination of courses. A combination of courses is consideredmost popular if no other combination has higher popularity. Output a single line giving the total number of students taking some combination of courses that is most popular.
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here