Abhinaw TripathiOct 25, 20162 min readFind k closest elements to a given valueFind k closest elements to a given valueExamples:Input: K = 4, X = 35 arr[] = {12, 16, 22, 30, 35, 39, 42, 45, 48, 50, 53, 55, 56}