Trees, Graphs, Top-K & Sorting
AMD isn't a LeetCode shop. Most of its coding is C and C++ close to the hardware: debugging code you can't run, bit tricks, linked lists and memory. Classic algorithm problems still turn up, though, and when they do it's as one easy or medium, often tacked onto a round whose real subject is caches, threads or GPU behavior.
The six problems below are the named tree, graph, sorting and array ones from the last twelve months, newest first. Each has a single report, so read them as examples of what an AMD screen looks like rather than a list to memorize. A Bengaluru senior loop in October 2026 had a Premium question and a 0s-and-1s sort. A Toronto GPU onsite in September 2026 asked for top-k. February 2026 brought a bipartite check for a San Jose intern and an onsite with an inverted tree and a rotated sorted array.
One more 2026 loop is worth knowing about. A Hyderabad software engineer who took an offer in July 2026 got two LeetCode dynamic programming problems, one medium and one hard, next to a WhatsApp-style design. Neither problem was named, so there's nothing to drill beyond solid medium DP.
AMDPremium lesson · Coding round
The 6 AMD problems are below.
- A Premium questionCoding · Medium
- A Premium questionCoding · Medium
- A Premium questionCoding · Easy
+ 3 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.