ASDV-Cpp/Assignments/MP2_CalebFontenot_clion/binarySearch.h

14 lines
351 B
C

2024-03-07 18:40:11 +07:00
//
// 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