Techolution interview question

write the code for Binary Search