AirbnbCoding·45 minMembers
Review — Token Tagging / Replacement
Members only
Given a review text and a map of tokens to labels, scan the text and wrap each occurrence of a token with `[label]{token}`. Case-insensitive matching; preserve the original casing in the output.
SWE
string
trie
string-processing
hashmap
medium
Frequency
Medium
Last asked
2026-08-26
Stage
onsite-coding · tech-screen
Log in to continue reading the full content
Comments
Sign in to join the discussion
Loading...
