American Young Coder

AYC logo
Loading Events

« All Events

  • This event has passed.

6PM – Coding Olympic Training

January 19, 2022 @ 6:00 pm - 7:00 pm

The homework is:

  1. Find the most frequent number in an array
    1. Create nums.in file and write some numbers, one number in each line
    2. Print the most frequent number or write it to a file
  2. Find the two numbers in an array that have largest sum
    1. Create nums.in file and write some numbers, one number in each line
    2. Assume the solution is unique
    3. 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

Details

Date:
January 19, 2022
Time:
6:00 pm - 7:00 pm