public interface SearchInterface
| Modifier and Type | Method and Description |
|---|---|
int |
search(int[] listOfNumbers,
int target)
This method is used for searching for a target value in an array
representing a listOfNumbers.
|
int search(int[] listOfNumbers,
int target)
listOfNumbers - An array of int values.target - An int value representing the target we are searching for.