15 lines
342 B
C++
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
|