PRISM+ interview question

Asked to demonstrate binary search