Check an array is subset of another array
Check that all element of first array present in second array.
Apply Brute force algorithm to check the occurrence of each element of first array into second array.
Solution# Java method
First, convert arrays into list using arrayList().
Use containsAll() method to check.