Unique Intersection of Two Integer Arrays

Asked at Netflix · Coding Questions · Difficulty: Easy

Given two integer arrays `A` and `B`, return their intersection. Each element in the result must be unique and appear in both arrays. You may return the result in any order.

Loading the problem…