Return the position of the first time the target appears, counting from 0. Return -1 when it is not there at all.
int indexOf(int[] values, int target)
Examples
There are also 3 hidden tests you can't see. Solve the problem, not the examples.