intersection of two arrays ii solution