Google Interview Question

Solve a problem with KNN