Given an integer array sorted in ascending order and a certain integer; the task is to find the element of the array closest to this number.
-
Updated
Apr 28, 2022 - JavaScript
Given an integer array sorted in ascending order and a certain integer; the task is to find the element of the array closest to this number.
Add a description, image, and links to the closest-search topic page so that developers can more easily learn about it.
To associate your repository with the closest-search topic, visit your repo's landing page and select "manage topics."