Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,3 +29,7 @@
### Sagar Gurung

- Github: https://github.com/SagarGi

### Surya Shenjaya

- Github: https://github.com/suryashen5
12 changes: 12 additions & 0 deletions Competitive Programming/LeetCode/240. Search a 2D Matrix II.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
class Solution {
public boolean searchMatrix(int[][] matrix, int target) {
for(int i=0;i < matrix.length;i++){
for(int j=0; j < matrix[i].length;j++){
if(matrix[i][j]==target){
return true;
}
}
}
return false;
}
}