Pergunta de entrevista da empresa Constructor

You have a class TF-IDF. It accepts an array of strings (each array - "document"). Create a method "search" to find a term inside those documents sorted by TF-IDF score.