Linked Lists & Queues in C
When AMD asks about linked lists, it usually wants you to write one. Writing a singly linked list in C has four firsthand reports from March 2019 to August 2026, from a Canadian software role, a Bengaluru graphics driver screen, an Austin firmware intern on CoderPad and a Hyderabad validation loop. The newest named problem is from October 2026, when a Bengaluru co-op had to sort two linked lists of letters and merge them into one.
The older problems are the classics: insert into a sorted list, reverse a list, find a cycle, make a queue out of two stacks. They're short. What gets graded is the C around them, meaning who owns each node, what happens when malloc returns NULL and whether every node gets freed. In the practice editor each list goes in and comes out as an array of values. The Python solutions still build real nodes and move real pointers, and each walkthrough shows the C you'd write on CoderPad or a whiteboard.
AMDPremium lesson · Coding round
The 6 AMD problems are below.
- A Premium questionCoding · Easy · Frequently asked
- 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.