American Young Coder Academy – Indo

Loading Events

« All Events

  • This event has passed.

6 PM – Coding Olympic Training

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

Homework

Find complementary set of two arrays

  1. complementary set means a set of all elements that only exist in one array
  2. Create one file named input.in, each line is one array, each element in one array is comma separated, for example: 2,4,6,3,15,7
  3. Print the complementary set of two arrays or write the result to a file

For example:

array1 = [1,2,3]

array2 = [2,3,4]

Then the complementary set is [1,4]

Details

Date:
January 26, 2022
Time:
6:00 pm - 7:00 pm
Verified by MonsterInsights