Given two unsorted integer arrays a and b, return their union (all distinct values that appear in either array) and their intersection (distinct values that appear in both).
You've read your 3 free write-ups
Sign up free to keep reading. Your account opens the first 10 questions of every company.