leetcode/include/s0035_search_insert_position.hpp
2022-11-30 18:20:36 +08:00

15 lines
262 B
C++

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