leetcode/include/s0033_search_in_rotated_sorted_array.hpp
2022-11-21 21:15:56 +08:00

15 lines
239 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 Solution {
public:
int search(vector<int>& nums, int target);
};
#endif