GitLab Interview Question

Explain how you'd implement a tagged search box.