Pergunta de entrevista da empresa Oracle

Describe how k-nearest neighbors works.