Challenge: Find the Closest Number
In this lesson, you will solve a challenge on finding the closest number to a given number in a sorted array.
We'll cover the following...
Closest number
“In any given sorted array, the closest number to a given number is the one whose absolute difference is closest to zero to the given number.”
Take a look at the following illustration for a better ...
Access this course and 1400+ top-rated courses and projects.