The homework is:
- Find the most frequent number in an array
- Create nums.in file and write some numbers, one number in each line
- Print the most frequent number or write it to a file
- Find the two numbers in an array that have largest sum
- Create nums.in file and write some numbers, one number in each line
- Assume the solution is unique
- BONUS: It is possible there are multiple pairs of numbers have same largest sum, find all possible pairs
You can also check last page of the slide for homework details. Please submit your homework before 8pm 1/23/2022