19 lines
271 B
C++
19 lines
271 B
C++
#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
|