...

/

Challenge: Search in a 2D Array

Challenge: Search in a 2D Array

Solve the challenge of finding whether a number is present in a 2D array.

Problem statement

Implement a function that tells whether a given number is present in a row-wise and column-wise sorted 2D array or not.

Input

A sorted 2D array and ...