Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 3a19e26

Browse files
authored
Update BinarySearch.md
1 parent 553d10d commit 3a19e26

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎binary-search/BinarySearch.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -950,7 +950,7 @@ Don't treat it as a 2D matrix, just treat it as a sorted list
950950

951951
rows * cols matrix convert to an array => matrix[x][y] => a[x * cols + y]
952952

953-
an array convert to n * m matrix => a[x] => matrix[x / cols][x % cols];
953+
an array convert to rows * cols matrix => a[x] => matrix[x / cols][x % cols];
954954

955955
```java
956956
class Solution {

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /