Home Page » binary search

Questions tagged as "binary search"

0 Votes

Find the closest number

Arraysbinary search

Asked at:

Google

Given an array of sorted integers and find the closest value to the given number. Array may contain duplicate values and negative numbers.

Example : Array : 2,5,6,7,8,8,9 Target numberREAD MORE

By preplr in programming · Asked 141 days 14 hours 25 mins ago

Questions: 2 Accepted: 0 ( 0% ) | Reputation: 2

© Preply 2012. All rights reserved.