Strings in C: atoi, Reverse & Palindromes
None of these four problems would slow you down in Python. AMD asks them in C, usually inside a round about drivers, firmware or embedded work, and in C the easy part is the algorithm. What decides the round is the empty string, the integer that won't fit, the char that turns out to be signed and the pointer that slips one byte past the buffer.
A Markham kernel-driver round in September 2026 had string to integer as one of three C tasks. Reversing a string has two 2026 reports, from a Japan intern loop in August and a firmware intern round in April. A Bengaluru senior lead round in July 2026 asked whether one string can break another. The palindrome check sits at the end with its dates, since its newest report is from March 2025.
AMDPremium lesson · Coding round
The 4 AMD problems are below.
- A Premium questionCoding · Easy · Frequently asked
- 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.