< Arithmetic AutoProof Code Repository Board Game I >

Binary search

Category: Algorithm

Source: VSI'08

Description

Given a sorted array and a value, return the index of the given value using binary search.

download source

Code