Find Closest Value in Array
Filed under Conga
The question
Given an array of integers that may contain duplicates and negative numbers, find the value closest to a given target number.
No write-up yet. Related questions below have one.
Related Conga questions
Collected from public candidate posts and coding forums. Updated Nov 2026.