leetcode/include/s0034_find_first_and_last_position_of_element_in_sorted_array.hpp
2022-11-30 18:20:36 +08:00

15 lines
342 B
C++

#ifndef S0034_FIND_FIRST_AND_LAST_POSITION_OF_ELEMENT_IN_SORTED_ARRAY_HPP
#define S0034_FIND_FIRST_AND_LAST_POSITION_OF_ELEMENT_IN_SORTED_ARRAY_HPP
#include <vector>
using namespace std;
class S0034 {
public:
vector<int> searchRange1(vector<int>& nums, int target);
vector<int> searchRange2(vector<int>& nums, int target);
};
#endif