← Questions
Implement an LRU cache
0
I was asked this
No reports yet. Sign in to say where you were asked it.
A coding interview question asked in Apple's technical phone screen and at Amazon, Microsoft and 5 more companies, last asked Nov 2026. It tests hash map, linked list and caching at L3–L4.
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
- Apple · Technical phone screen · Last asked Nov 2026
- Amazon · Coding · Last asked Nov 202655 min · Usually two rounds; one is often an object-oriented design built in steps · No AI
- Microsoft · Coding · Last asked Oct 202660 min · Ten to fifteen minutes of behavioral questions, then coding in HackerRank where you write a main and make the tests pass; usually three rounds · No AI unless the interviewer invites it; some 2026 loops add a round where you bring your own AI agent
- Waymo · Coding · Last asked Sep 202645 min · Usually two rounds; some give you the interviewer's buggy code to find and fix, some are read aloud with no skeleton
- Uber · Coding · Last asked Jun 202660 min · Two rounds; one is often object-oriented design (a parking lot, a meeting scheduler, an expression evaluator) · No AI, except a newer AI-assisted debugging round in some senior loops
- Google · Onsite coding · Last asked Feb 202645 min · Usually two rounds, mostly in person: whiteboard plus a Chromebook with Google Docs · No AI (a pilot code-comprehension round lets candidates use Gemini)
- Meta · AI-enabled coding · Last asked Jan 202660 min · Several progressive tasks on a starter codebase in CoderPad with an AI assistant panel; usually two rounds · The first task usually without AI, later tasks with it
- Ambience Healthcare · Technical phone screen · Last asked Jul 2025
What it tests
Sign in to submit your code; every attempt is kept here.
Your code and the AI tutor open when you unlock this question.


