우선 코드부터.
public void binarySearch(int[] array, int value, int low, int high){
if (low>hight){
return false;
}
mid = (low+high)/2;
if(array[mid] > value){
return binarySearch(array, value, low, mid-1);
}else if(array[mid] <value){
return binarySearch(array, value, mid+1, high);
}else{
return mid;
}
}