Add math builder (#6190)

This commit is contained in:
Hakim's Garage
2025-03-12 22:35:21 +06:00
committed by GitHub
parent 9bfc05ad8d
commit e6073f8fef
8 changed files with 494 additions and 38 deletions

View File

@@ -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;