LRU Cache, shared_ptr & Thread-Safe Queues
When AMD wants you to build something in C++, it's usually the kind of small systems code you'd find in a driver or a runtime, like an LRU cache, a smart pointer or a queue that many threads share. None of them is hard on paper. In the August 2026 LRU round the follow-ups arrived while the candidate was still typing, so write a first version that's easy to change.
The LRU cache is the one that repeats. Four loops raised it, and the newest was in October 2026. A basic shared_ptr has two reports, from July 2026 and from a 2019 GPU onsite. The July round also asked for a stack and a multithreaded queue. memcpy sits at the end as an older problem from 2023 and 2025.
AMDPremium lesson · Coding round
The 4 AMD problems are below.
- A Premium questionCoding · Medium · Signature problem
- A Premium questionCoding · Medium
- A Premium questionCoding · Medium
+ 1 more in this lesson
Each with hints, the follow-up and a tested solution.
Get the AMD questions$49 a year · all 122 companies · instant access
21,000+ candidate reports
AMD interview guideKnow what AMD asks before you walk in.
37 coding · 5 system design · 17 behavioral questions
Get their questions first.
InterviewLegend is independent and not affiliated with or endorsed by any company it covers.