mirror of
https://github.com/TheAlgorithms/Java.git
synced 2026-03-13 08:40:43 +08:00
Add math builder (#6190)
This commit is contained in:
@@ -15,7 +15,6 @@ public class SearchInARowAndColWiseSortedMatrix {
|
||||
// This variable iterates over columns
|
||||
int j = n - 1;
|
||||
int[] result = {-1, -1};
|
||||
|
||||
while (i < n && j >= 0) {
|
||||
if (matrix[i][j] == value) {
|
||||
result[0] = i;
|
||||
|
||||
Reference in New Issue
Block a user