← Questions

Highlight categorized phrases in a review

0
AirbnbCodingLast asked Sep 2026

A coding interview question asked in Airbnb's coding round, last asked Sep 2026. It tests strings, trie and parsing.

Reviews on a travel site should show key phrases with their category. Write a function that marks every mapped phrase in a review. mapping is a list of (phrase, category) pairs.

Sign in to unlock this question

The full prompt, the worked answer and your own canvas or code with the AI tutor. New accounts get 5 credits: each one unlocks a question for good.

Where it's asked

  • Airbnb · Coding · Last asked Sep 202645 min · Live coding, one or two rounds, from the same pool as the screen

What it tests

strings · trie · parsing

Your code and the AI tutor open when you unlock this question.