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

15 lines
238 B
C++

#ifndef S0704_BINARY_SEARCH_HPP
#define S0704_BINARY_SEARCH_HPP
#include <vector>
using namespace std;
class S0704 {
public:
int binSearch1(vector<int>& nums, int target);
int binSearch2(vector<int>& nums, int target);
};
#endif