Sponsored
Sponsored
Use these hints if you're stuck. Try solving on your own first.
Each element of target should have a corresponding element in arr, and if it doesn't have a corresponding element, return false.
To solve it easiely you can sort the two arrays and check if they are equal.