Search⌘ K
AI Features

Challenge: Search in a 2D Array

Explore how to determine if a specific number exists within a row-wise and column-wise sorted 2D array. Learn to design a step-by-step search algorithm, develop your coding skills, and prepare for interview questions focused on efficient array searching techniques.

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 ...