leetcode/include/s0704_binary_search.hpp

19 lines
271 B
C++
Raw Normal View History

2022-11-24 08:44:36 +00:00
#ifndef S0704_BINARY_SEARCH_HPP
#define S0704_BINARY_SEARCH_HPP
#include <vector>
using namespace std;
class Solution1 {
public:
int binSearch(vector<int>& nums, int target);
};
class Solution2 {
public:
int binSearch(vector<int>& nums, int target);
};
#endif