Problem 2956 · Easy
Put each array in a hash set, then count the entries of each array that appear in the other set.
Open the interactive visualisation