Find distinct elements common to all rows of a matrix

mediumLast edited: August 19, 2025