IBM Interview Question

Code KNN classification in an IDE