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

19 lines
295 B
C++

#ifndef S0035_SEARCH_INSERT_POSITION_HPP
#define S0035_SEARCH_INSERT_POSITION_HPP
#include <vector>
using namespace std;
class Solution1 {
public:
int searchInsert(vector<int>& nums, int target);
};
class Solution2 {
public:
int searchInsert(vector<int>& nums, int target);
};
#endif