Given a 2D array X[m][n] which has m rows and n columns. The array X is row wise and column wise sorted (i.e) each individula row and column is sorted. What is the complexity to search an element in this array
a)O(m*n)
b)O(m2) or O(n2)
c)O(log2(m*n))
d)O(m+n)