leetcode/include/s0033_search_in_rotated_sorted_array.hpp
2022-11-21 20:50:10 +08:00

15 lines
231 B
C++

#ifndef S0033_SEARCH_IN_ROTATED_SORTED_ARRAY
#define S0033_SEARCH_IN_ROTATED_SORTED_ARRAY
#include <vector>
#include <cmath>
using namespace std;
class Solution {
public:
int search(vector<int>& nums, int target);
};
#endif