Yahoo Interview Question

Describe how to calculate TD-IDF.