Assessment and DP Classics
Most of Affirm's coding happens live, with an interviewer you can ask questions. The apprenticeship track, aimed at career-changers, adds a timed coding assessment. Three of the four problems here are close to ones from a 2026 sitting, a number theory warm-up and two table or search problems. The fourth is a DP classic that has shown up on a live phone screen.
Check the input sizes before you pick a method. A loop that runs past the square root of a large n is too slow, and a table that works for a small capacity falls over when the capacity is huge. Size decides the method more often than the story does.
AffirmPremium lesson · Coding round
The 4 Affirm problems are below.
- A Premium questionCoding · Medium
- A Premium questionCoding · Easy
- A Premium questionCoding · Medium
+ 1 more in this lesson
Each with hints, the follow-up and a tested solution.
Get the Affirm questions$49 a year · all 100 companies · cancel anytime
From 20,000+ candidate reports, forum threads behind logins and write-ups in Chinese.
Affirm interview guideKnow what Affirm asks before you walk in.
24 coding · 2 system design · 13 behavioral questions
Get their questions first.
InterviewLegend is independent and not affiliated with or endorsed by any company it covers.