Help with the implementation of the minus() method, which takes parameters 2 of the arr1 and arr2 arrays. As a result, should return the difference between the two arrays.
The explanation is that in my understanding the difference is to return an array, the elements of which are contained in arr1, but not in arr2.
removeAllmethod. But if you really have arrays and are firmly tied to them and the logic already has everything for them - there will be a completely different solution ..... but it would be interesting what you have and what you tried to do - Alexey Shimansky