Sponsored
Sponsored
Use these hints if you're stuck. Try solving on your own first.
Notice that each row has no duplicates.
Is counting the frequency of elements enough to find the answer?
Use a data structure to count the frequency of elements.
Find an element whose frequency equals the number of rows.