Log in to add a comment

Log in to add a comment

Binary search is one of the fundamental algorithms in computer science. It is an efficient algorithm for finding an item from an ordered list of items. It works by repeatedly dividing in half the portion of the list that could contain the item, until you've narrowed down the possible locations to just one.