Loading...
GET /typeahead/{partial-term}
Returns - List of 5 top results
POST /increment-frequency/{term}
Updates frequency of term
POST /blocklist/{term}
Increments a block counter for a term, if enough users mark block a term, it will be removed from suggestions
Explain how the request flows from end to end in your high level design. Also you could draw a sequence diagram using the diagramming tool to enhance your explanation...
Dig deeper into 2-3 components and explain in detail how they work. For example, how well does each component scale? Any relevant algorithm or data structure you like to use for a component? Also you could draw a diagram using the diagramming tool to enhance your design...