FICO interview question

Explain the difference between Random forest classification model and K - nearest neighbours