Pergunta de entrevista da empresa Yelp

Write a function to find a hidden guess integer given a helper function that will check if guess is too low, too high, or correct.