Amazon Interview Question Improve Improve Like Article Like Save Share Report Round 1: There is an unsorted array of size n. Given a key k find m nearest elements to k. Example Array :Â Â -10, -50, 20, 17, 80. key k :20 m : 2 Answer 17, -10. Solution : Find k closest numbers in an unsorted array Last Updated : 29 Apr, 2019 Like Article Save Article Previous Amazon Interview Experience | Set 351 (Off-Campus for SDE I) Next How I Prepared for GATE CSE ? Share your thoughts in the comments Add Your Comment Please Login to comment...