Problem 2352 · Medium
Count row and column pairs that match exactly by storing each column as a key and looking up each row.
Open the interactive visualisation