public interface Searcher
Anything that can search an integer array for a target value between left and right indices
Method Summary | |
---|---|
int |
search(int[] array,
int value,
int left,
int right)
Searches a subset of an array for the value between the given left and right indices. |
Method Detail |
---|
int search(int[] array, int value, int left, int right)
array
- the array to searchvalue
- the target value to find