Your question is Find Matching Elements in Arrays. Start with the requirements on the right.
Run and submit as often as you like. When you're ready, talk me through your approach or go straight to the code.
LiveRamp audience workflows may receive multiple lists of identifiers from different activation sources. Given a list of integer arrays, return the unique identifiers that appear in every array.
The output must preserve the order in which identifiers first appear in the first array. Duplicate occurrences within any input array count only once.
Implement matching_elements(arrays).
arrays, a non-empty list of integer arrays.arrays[0].def matching_elements(arrays):