Given an m by n matrix mat where each row is sorted in strictly increasing order, return the smallest element that appears in every row of mat. If no such common element exists, return
Constraints:
m == mat.length
n == mat[i].length
m, n
mat[i][j]
mat[i] is sorted in strictly increasing order.
Given an m by n matrix mat where each row is sorted in strictly increasing order, return the smallest element that appears in every row of mat. If no such common element exists, return
Constraints:
m == mat.length
n == mat[i].length
m, n
mat[i][j]
mat[i] is sorted in strictly increasing order.