...

/

Challenge 1: An Array as a Subset of Another Array

Challenge 1: An Array as a Subset of Another Array

Can you find whether or not a given array is a subset of another array by using a hash table?

Problem statement

Implement the isSubset(int[] arr1, int[] arr2, int size1, int size2) function, which will take two arrays and their sizes as input and check whether or not one array is the subset of the other. ...

Access this course and 1400+ top-rated courses and projects.