Cotality Interview Question

Explain the K-Nearest Neighbors method.