leetcode/include/s0035_search_insert_position.hpp

19 lines
295 B
C++
Raw Normal View History

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-24 08:44:36 +00:00
class Solution1 {
public:
int searchInsert(vector<int>& nums, int target);
};
class Solution2 {
2022-11-21 13:32:04 +00:00
public:
int searchInsert(vector<int>& nums, int target);
};
#endif