
Nearest Value

Find the nearest value to the given one.
You are given an Array of numbers and a value for which you need to find the nearest one.
For example, we have the following sequence of numbers: 4, 7, 10, 11, 12, 17, and we need to find the nearest value to the number 9. If we sort this sequence ...
You should be an authorized user in order to see the full description and start solving this mission.