To determine whether an array contains an element, in principle, it is to traverse the entire array and then determine whether it is equal,
If not included in the array, return -1;
The above is the entire content of this article, friends in need can refer to it