Explain the K Nearest Neighbor algorithm.

Technical