What is the goal of Search a 2D Matrix?
Practice this question from Search a 2D Matrix - Flattened Binary Search Pattern Practice Quiz, with options and an explanation.
Question
What is the goal of Search a 2D Matrix?
Option A — Correct answer
Find whether a target exists in a sorted 2D matrix.
Option B
Count graph components only
Option C
Build a frequency table only
Option D
Reverse a linked list only
Explanation
Find whether a target exists in a sorted 2D matrix.