Back to Vercel questions
CodingSoftware Engineer

Full-Stack Autocomplete

Frequency: Reported


Build a full-stack autocomplete website from a text file containing words.

Requirements:

  • use a trie for autocomplete;
  • provide a text box in the frontend;
  • display suggestions below it; and
  • stream suggestion results and log them to the browser console.

The source did not preserve framework constraints, API shape, ranking rules, or scale.