Snapp (Iran) interview question

What is search binary algorithm