Pergunta de entrevista da empresa Riverbed Technology

2.) given an int and a sorted int array, return the index of int in array using Binary search.