leetcode/include/s0034_find_first_and_last_position_of_element_in_sorted_array.hpp
2022-11-24 16:44:36 +08:00

18 lines
374 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 Solution1 {
public:
vector<int> searchRange(vector<int>& nums, int target);
};
class Solution2 {
public:
vector<int> searchRange(vector<int>& nums, int target);
};
#endif