JenilGajjar20 / JenilGajjar20/Competitive-Programming_problems

Search A 2D Array

Open
#201 0 comments 0 reactions 1 assignee Claimed by @harshogale04 View on GitHub
hacktoberfest hacktoberfest-accepted
Dominant language
C++
Stars
18
Forks
75
PR merge metrics
No merged PRs in 30d

Description

You are given an m x n integer matrix matrix with the following two properties:

Each row is sorted in non-decreasing order.
The first integer of each row is greater than the last integer of the previous row.
Given an integer target, return true if target is in matrix or false otherwise.

You must write a solution in O(log(m * n)) time complexity.

Hello! I’d love to contribute to this repository as part of Hacktoberfest 2024. Could you assign me to this issue and tag it with the Hacktoberfest label? Thanks in advance!

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.