Search⌘ K
AI Features

Intersection of Two Arrays

Intersection of Two Arrays asks you to return the unique integers that appear in both input arrays, with the result in any order and without duplicate values.

Statement

You are given two integer arrays, arr1 and arr2. Your task is to return a new array ...