leetcode

2215. Find the Difference of Two Arrays

Solution code

_n = nums1 _
_m = nums2 _

Time complexity: O(n + m)

Space complexity: O(n + m)