[LeetCode] 240. Search a 2D Matrix II - 문제풀이
Description 각 행,열이 오름차순의 값을 가지고 있는 배열이 주어졌을때 target의 존재 여부를 반환하는 문제입니다. Write an efficient algorithm that searches for a value target in an m x n integer matrix matrix. This matrix has the following properties: Integers in each row are sorted in ascending from left to right. Integers in each column are sorted in ascending from top to bottom. Example 1: Input: matrix = [[1,4,7,11,15],[2,5,8,12,19..