Chronograph interview question

Coding: handcraft TFIDF with only Python built-in libraries