BNP Paribas interview question

Can you explain the basic of KNN algorithm?