2022-11-21 13:15:56 +00:00
|
|
|
#ifndef S0033_SEARCH_IN_ROTATED_SORTED_ARRAY_HPP
|
|
|
|
#define S0033_SEARCH_IN_ROTATED_SORTED_ARRAY_HPP
|
2022-11-21 12:50:10 +00:00
|
|
|
|
|
|
|
#include <vector>
|
|
|
|
#include <cmath>
|
|
|
|
|
|
|
|
using namespace std;
|
|
|
|
|
2022-11-30 10:20:36 +00:00
|
|
|
class S0033 {
|
2022-11-21 12:50:10 +00:00
|
|
|
public:
|
|
|
|
int search(vector<int>& nums, int target);
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|