leetcode

2215. Find the Difference of Two Arrays

Solution

Time complexity: O(m + n)

Space complexity: O(max(m, n))