search other (2-3 17:29)
int search(int[] data, int begin, int end, int target) { if (begin > end) { return -1; } else if (target == items[end]) { return end; } else { return search(data, begin, end - 1, target); } }