1198. Find Smallest Common Element in All Rows
Given a matrix mat where every row is sorted in strictly increasing order, return the smallest common element in all rows.
If there is no common element, return -1.
c++
1 | class Solution { |