problem_235 and bisection search