ewqe
parent
b254706e42
commit
87f5373e43
|
@ -6,7 +6,7 @@ public class BinarySearch {
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
public static void main(String[] args) {
|
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 array[] = {1,2,3,4,5,6,7,8,9,10};
|
||||||
int low = 0;// 0
|
int low = 0;// 0
|
||||||
int heigh = array.length -1;//9
|
int heigh = array.length -1;//9
|
||||||
|
|
Loading…
Reference in New Issue