14 lines
351 B
C
14 lines
351 B
C
|
//
|
||
|
// Created by caleb on 3/7/24.
|
||
|
//
|
||
|
|
||
|
#ifndef MP2_CALEBFONTENOT_CLION_BINARYSEARCH_H
|
||
|
#define MP2_CALEBFONTENOT_CLION_BINARYSEARCH_H
|
||
|
|
||
|
#include <vector>
|
||
|
|
||
|
std::tuple<int, int> binarySearch(std::vector<std::vector<int>> arr, int numToSearchFor);
|
||
|
int binarySearch(std::vector<int> arr, int numToSearchFor);
|
||
|
|
||
|
#endif //MP2_CALEBFONTENOT_CLION_BINARYSEARCH_H
|