leetcode/include/s0033_search_in_rotated_sor...

15 lines
236 B
C++

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