📅  最后修改于: 2022-03-11 15:00:52.589000             🧑  作者: Mango
int rLookupAr (int array[], int size, int target)
{
if(size<=0) return -1;
if(array[size-1] == target)
return size-1;
else
return rLookupAr (array, size-1, target); //recurse
}