Unstub

SetsEasy

Find the Difference of Two Arrays

Return two lists, the different numbers of nums1 that are not in nums2, and the different numbers of nums2 that are not in nums1, each in increasing order.

Aim for O((n + m) log(n + m)) time, O(n + m) spaceInspired by a classic interview problem ↗