The binary searching can be implemented with recursive calls to the same function, modified with two extra int parameters, start position and end position.