Yahoo interview question

kNN, algorithm, working transformer working