master
obai 2024-08-29 22:26:42 +02:00
parent 7fc588c71d
commit b254706e42
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,9
//indexes: 0,1,2,3,4,5,6,7,8,9e3e3e3
int array[] = {1,2,3,4,5,6,7,8,9,10};
int low = 0;// 0
int heigh = array.length -1;//9