← Questions

Citation tagging over generated text

0
HarveyCodingLast asked Nov 2026

A coding interview question asked in Harvey's coding round, last asked Nov 2026. It tests string, interval and parsing.

A model wrote a sentence, and you have a list of source phrases that may appear in it. Return the sentence with every place a source phrase appears wrapped in <yellow> and </yellow>.

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

  • Harvey · Coding · Last asked Nov 202660 min · Live practical coding · Candidates report freedom to use the tools and languages they know; confirm with your recruiter

What it tests

string · interval · parsing

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