← Back
00:00

Token Cache

xAI interview questions · Hard · Coding round · 6 tests

Implement a radix-style cache for integer token sequences with shared prefixes and efficient prefix queries.

The full question, tests and reference solution are available with a plan that includes xAI.

Idle