Skip to content

Commit 86ad68a

Browse files
authored
Merge branch 'algorithmzuo:main' into main
2 parents f61c2a5 + e1fbccf commit 86ad68a

File tree

81 files changed

+7377
-279
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

81 files changed

+7377
-279
lines changed
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
46.1 KB
Binary file not shown.
43 KB
Binary file not shown.

src/class006/Code02_FindLeft.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ public static void main(String[] args) {
1515
int n = (int) (Math.random() * N);
1616
int[] arr = randomArray(n, V);
1717
Arrays.sort(arr);
18-
int num = (int) (Math.random() * N);
18+
int num = (int) (Math.random() * V);
1919
if (right(arr, num) != findLeft(arr, num)) {
2020
System.out.println("出错了!");
2121
}

0 commit comments

Comments
 (0)