Today we will continue our discussion of recursion. We will look at two more examples
Then we will discuss performance issues with recursion and discuss when and how to convert a recursive solution to an iterative one.
Lets implement the binary search algorithm operating on a std::array.
search.hpp
implement the recursive binary search algorithm as defined.search.hpp
implement the iterative binary search algorithm as defined.search.hpp
file via Canvas at the Assignment "Exercise for Meeting 6".