Given an array of integers arr, implement a function that returns the index of the number nearest to the given value n.
For further actions, you may consider blocking this person and/or reporting abuse
Given an array of integers arr, implement a function that returns the index of the number nearest to the given value n.
For further actions, you may consider blocking this person and/or reporting abuse
Md. Fahim Bin Amin -
Jagroop Singh -
Muchhal Sagar -
Roshan Kr Soni -
Top comments (0)