InterviewLegend

Trees, Graphs, Top-K & Sorting

Alex Chen45 min readGuide updated 61 real interview reports

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.

The AMD angle
Expect the problem to share the hour. In these loops the LeetCode question sat beside a resume talk, an OS round or a GPU kernel. Solve it cleanly and quickly, state the complexity without being asked, and save your time for the systems questions that decide the round.

AMDPremium lesson · Coding round

The 6 AMD problems are below.

  1. A Premium questionCoding · Medium
  2. A Premium questionCoding · Medium
  3. 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 guide

Know what AMD asks before you walk in.

37 coding · 5 system design · 17 behavioral questions

Get Premium$49 a year · Instant access
Or start freeNo card.

Get their questions first.

Had your AMD interview?How we research

InterviewLegend is independent and not affiliated with or endorsed by any company it covers.