master
obai 2024-08-29 22:27:55 +02:00
parent b254706e42
commit 87f5373e43
1 changed files with 1 additions and 1 deletions

View File

@ -6,7 +6,7 @@ public class BinarySearch {
*
*/
public static void main(String[] args) {
//indexes: 0,1,2,3,4,5,6,7,8,9e3e3e3
//indexes: 0,1,2,3,4,5,6,7,8,9
int array[] = {1,2,3,4,5,6,7,8,9,10};
int low = 0;// 0
int heigh = array.length -1;//9