Dell Technologies interview question

Searching in 2d array in o(N) complexity