Skip to content

Commit a073e9d

Browse files
refactor 240
1 parent a89ad9f commit a073e9d

File tree

1 file changed

+0
-23
lines changed
  • src/main/java/com/fishercoder/solutions

1 file changed

+0
-23
lines changed

src/main/java/com/fishercoder/solutions/_240.java

Lines changed: 0 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,5 @@
11
package com.fishercoder.solutions;
22

3-
/**
4-
* 240. Search a 2D Matrix II
5-
*
6-
* Write an efficient algorithm that searches for a value in an m x n matrix.
7-
* This matrix has the following properties:
8-
9-
Integers in each row are sorted in ascending from left to right.
10-
Integers in each column are sorted in ascending from top to bottom.
11-
For example,
12-
13-
Consider the following matrix:
14-
15-
[
16-
[1, 4, 7, 11, 15],
17-
[2, 5, 8, 12, 19],
18-
[3, 6, 9, 16, 22],
19-
[10, 13, 14, 17, 24],
20-
[18, 21, 23, 26, 30]
21-
]
22-
Given target = 5, return true.
23-
24-
Given target = 20, return false.
25-
*/
263
public class _240 {
274

285
public static class Solution1 {

0 commit comments

Comments
 (0)