Affirm Coding Interview Questions
We track 10 coding questions asked at Affirm, tagged with the algorithms and concepts they test. The most common: Hash Table, Array, String, Design, Math.
Browse all 10 Affirm questions →Concept mix
Each question's weight is split evenly across its concepts, so the shares sum to 100%.
- String19.8%
- Hash Table18.5%
- Array15.4%
- Sorting7.3%
- Two Pointers6.2%
- Design5.0%
- Math5.0%
- Randomized5.0%
- Breadth-First Search4.2%
- Dynamic Programming4.2%
- Other (3)9.3%
How many questions involve each concept
Share of all 10 tracked Affirm questions that touch each concept. Questions usually involve several, so these overlap.
- Hash Table60.0%
- Array50.0%
- String50.0%
- Design20.0%
- Math20.0%
- Randomized20.0%
- Sorting20.0%
- Breadth-First Search10.0%
- Dynamic Programming10.0%
- Recursion10.0%
- Stack10.0%
- Trie10.0%
Where Affirm differs from the average company
Concept weight at Affirm relative to the average across all companies we track. Green means Affirm leans on it harder than most.
- Randomized50.0×
- Design3.8×
- Hash Table2.8×
- String2.1×
- Array0.80×
Affirm specialties
Concepts that show up at Affirm but are rarely asked elsewhere. They are easy to get blindsided by.
Difficulty mix
Level split of the 10 tracked Affirm questions.
- Junior10% (1)
- Mid/Senior60% (6)
- Staff30% (3)
Every concept in Affirm interviews
| Concept | Questions | % of questions | Share of mix |
|---|---|---|---|
| Hash Table | 6 | 60.0% | 18.5% |
| Array | 5 | 50.0% | 15.4% |
| String | 5 | 50.0% | 19.8% |
| Design | 2 | 20.0% | 5.0% |
| Math | 2 | 20.0% | 5.0% |
| Randomized | 2 | 20.0% | 5.0% |
| Sorting | 2 | 20.0% | 7.3% |
| Breadth-First Search | 1 | 10.0% | 4.2% |
| Dynamic Programming | 1 | 10.0% | 4.2% |
| Recursion | 1 | 10.0% | 3.1% |
| Stack | 1 | 10.0% | 3.1% |
| Trie | 1 | 10.0% | 3.1% |
| Two Pointers | 1 | 10.0% | 6.2% |
Practice a Affirm interview
Take a realistic AI-led mock interview with questions Affirm actually asks, with live voice and real feedback.
Start a mock interviewYour first interview is free · no credit card required