leetcode/include/s0033_search_in_rotated_sorted_array.hpp

15 lines
239 B
C++
Raw Normal View History

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