mirror of
https://github.com/TheAlgorithms/Java.git
synced 2025-07-09 20:20:56 +08:00
Update BinarySearch.java
fix
This commit is contained in:
@ -72,7 +72,7 @@ class BinarySearch implements SearchAlgorithm {
|
|||||||
// Driver Program
|
// Driver Program
|
||||||
public static void main(String[] args) {
|
public static void main(String[] args) {
|
||||||
// Just generate data
|
// Just generate data
|
||||||
Random random = ThreadLocalRandom.current();
|
Random r = ThreadLocalRandom.current();
|
||||||
|
|
||||||
int size = 100;
|
int size = 100;
|
||||||
int maxElement = 100000;
|
int maxElement = 100000;
|
||||||
|
Reference in New Issue
Block a user