leetcode/include/s0034_find_first_and_last_p...

15 lines
342 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-30 10:20:36 +00:00
class S0034 {
2022-11-21 13:10:37 +00:00
public:
2022-11-30 10:20:36 +00:00
vector<int> searchRange1(vector<int>& nums, int target);
vector<int> searchRange2(vector<int>& nums, int target);
2022-11-21 13:10:37 +00:00
};
#endif