Skip to content

Instantly share code, notes, and snippets.

View angelvalay's full-sized avatar
🏠
Working from home

Angel Valay angelvalay

🏠
Working from home
  • Mexico
View GitHub Profile
@angelvalay
angelvalay / busquedabinaria.cpp
Last active January 30, 2019 03:56
Template de la busqueda binaria en C++ de forma recursiva
//
// Creado por Angel Valay el 1/29/2019.
//
#include <iostream>
using namespace std;
template <class T>
T busquedaBinaria(T a[],T clave, int inf, int sup){
T central;
if(inf > sup)