1p3a_oj Question

High-Concurrency Prompt Template Deduplication (Array + Hash Map)

Question Details

Problem: High-Concurrency Prompt Template Dedup & Counting (Array + Hash Map) You run a prompt engineering service receiving many prompt template strings. To reduce caching/eval cost, you need to

Full Details

🔒

Unlock all Anthropic questions

Full insider details, leaked discussions, and candidate experiences.

or every company, $100/year →

About This Question

This is a reported interview question from a anthropic interview for a swe role during the coding round.

It covers the following topics: Arrays, Strings, Hash Table, Os .