Skip to content

Commit aa25d45

Browse files
author
Ankit Agarwal
committed
Converted function name to snake case
1 parent dbcd2a0 commit aa25d45

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

matrix/search_in_sorted_matrix.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
#
77

88

9-
def searchInaSortedMatrix(mat, m, n, key):
9+
def search_in_a_sorted_matrix(mat, m, n, key):
1010
i, j = m-1, 0
1111
while i >= 0 and j < n:
1212
if key == mat[i][j]:
@@ -28,7 +28,7 @@ def main():
2828
]
2929
key = 13
3030
print (mat)
31-
searchInaSortedMatrix(mat, len(mat), len(mat[0]), key)
31+
search_in_a_sorted_matrix(mat, len(mat), len(mat[0]), key)
3232

3333

3434
if __name__ == '__main__':

0 commit comments

Comments
 (0)