Update BinarySearch.java

fix
This commit is contained in:
Guo_1_9 2019-01-11 20:33:50 +08:00 committed by GitHub
parent 8d11e5bb39
commit 378f661f70
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -72,7 +72,7 @@ class BinarySearch implements SearchAlgorithm {
// Driver Program
public static void main(String[] args) {
// Just generate data
Random random = ThreadLocalRandom.current();
Random r = ThreadLocalRandom.current();
int size = 100;
int maxElement = 100000;