leetcode/include/s0034_find_first_and_last_position_of_element_in_sorted_array.hpp

18 lines
374 B
C++
Raw Normal View History

2022-11-21 13:15:56 +00:00
#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
2022-11-21 13:10:37 +00:00
#include <vector>
using namespace std;
2022-11-24 08:44:36 +00:00
class Solution1 {
2022-11-21 13:10:37 +00:00
public:
vector<int> searchRange(vector<int>& nums, int target);
};
2022-11-24 08:44:36 +00:00
class Solution2 {
public:
vector<int> searchRange(vector<int>& nums, int target);
};
2022-11-21 13:10:37 +00:00
#endif