Also reported as Implement BPE Tokenizer
Glean phone-screen question, reconstructed from 1 candidate report (June 2026). The write-up includes a Python solution that passes 8 test cases.