Challenge 6: Find The Closest Number
In this lesson, we will solve a challenge on finding the closest number to a given number in an array.
Closest Number
In any given sorted array, the closest number to a given number is the one who’s absolute difference is closest to zero ...