Searching in a Two-Dimensional Array

# Introduction In this challenge, we will work on a program that searches for an element in a two-dimensional array. The array has a specific pattern, where each row is sorted in ascending order from left to right, and each column is sorted in ascending order from top to bottom. Your task is to write a program that takes an integer input and determines whether the array contains that integer. You need to follow the provided sample code and use the hints given to perform the search efficiently.

|60 : 00

Click the virtual machine below to start practicing