#include using namespace std; class Solution { public: int search(vector &nums, int target); bool test(vector &nums, int target, int answer); };