Build a search engine that indexes documents by their words and supports fast keyword-based search with relevance ranking.
Asked in frontend interviews at Google, Amazon, Microsoft and 1 more