Explore the solution

Log in or sign up to explore the explanation and learn how to solve this problem.

Log in / Sign up
0
class Solution{
public:
int search(vector<int> &nums, int target){
}
};
Test Case

Input:

Nums
Target