2022-11-21 13:32:04 +00:00
|
|
|
#ifndef S0035_SEARCH_INSERT_POSITION_HPP
|
|
|
|
#define S0035_SEARCH_INSERT_POSITION_HPP
|
|
|
|
|
|
|
|
#include <vector>
|
|
|
|
|
|
|
|
using namespace std;
|
|
|
|
|
2022-11-30 10:20:36 +00:00
|
|
|
class S0035 {
|
2022-11-24 08:44:36 +00:00
|
|
|
public:
|
2022-11-30 10:20:36 +00:00
|
|
|
int searchInsert1(vector<int>& nums, int target);
|
|
|
|
int searchInsert2(vector<int>& nums, int target);
|
2022-11-21 13:32:04 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|