Amazon Interview Question Last Updated : 29 Apr, 2019 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 Like Article Suggest improvement Previous Amazon Interview Experience SDE2 Next How I Prepared for GATE CSE ? Share your thoughts in the comments Add Your Comment Please Login to comment...