We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 29ce78f commit ed1f86eCopy full SHA for ed1f86e
matrix/searching_in_sorted_matrix.py
@@ -8,16 +8,16 @@ def search_in_a_sorted_matrix(
8
) -> None:
9
"""
10
>>> search_in_a_sorted_matrix(
11
- [[2, 5, 7], [4, 8, 13], [9, 11, 15], [12, 17, 20]], 3, 3, 5)
+ ... [[2, 5, 7], [4, 8, 13], [9, 11, 15], [12, 17, 20]], 3, 3, 5)
12
Key 5 found at row- 1 column- 2
13
14
- [[2, 5, 7], [4, 8, 13], [9, 11, 15], [12, 17, 20]], 3, 3, 21)
+ ... [[2, 5, 7], [4, 8, 13], [9, 11, 15], [12, 17, 20]], 3, 3, 21)
15
Key 21 not found
16
17
- [[2.1, 5, 7], [4, 8, 13], [9, 11, 15], [12, 17, 20]], 3, 3, 2.1)
+ ... [[2.1, 5, 7], [4, 8, 13], [9, 11, 15], [12, 17, 20]], 3, 3, 2.1)
18
Key 2.1 found at row- 1 column- 1
19
20
- [[2.1, 5, 7], [4, 8, 13], [9, 11, 15], [12, 17, 20]], 3, 3, 2.2)
+ ... [[2.1, 5, 7], [4, 8, 13], [9, 11, 15], [12, 17, 20]], 3, 3, 2.2)
21
Key 2.2 not found
22
23
i, j = m - 1, 0
0 commit comments