Affirm coding interview questions
Ranked by how often candidates report them. Each opens in the editor with hidden tests, an animated walkthrough and solutions in four languages; a question you solve once counts for every company that asks it.
| Progress | Title | Difficulty | Next step |
|---|---|---|---|
| Insert Delete GetRandom O(1)Hash Map + Array | Medium | Solve | |
| Shortest Uncommon Substring in an ArrayHashing | Medium | Solve | |
| Insert Delete GetRandom O(1) - Duplicates allowedHash Map + Array | Hard | Solve | |
| Design Hit CounterQueue / Circular Buffer | Medium | Solve | |
| Group AnagramsHashing | Medium | Solve | |
| Valid AnagramHashing | Easy | Solve | |
| String CompressionTwo Pointer | Medium | Solve | |
| Coin ChangeKnapsack | Medium | Solve | |
| Optimal Account BalancingBitmask DP | Hard | Solve | |
| LRU CacheLinked Lists | Medium | Solve | |
| Predict the WinnerInterval DP | Medium | Solve | |
| Two SumTwo Sum | Easy | Solve | |
| Number of Recent CallsQueue / Circular Buffer | Easy | Solve | |
| Contains Duplicate IISliding Window · Fixed | Easy | Solve |
No questions match these filters.
Also reported, being added to AlgoRung (2)
Parse Lisp Expression · String Compression III
Questions people ask
What coding questions does Affirm ask most?
Insert Delete GetRandom O(1), Shortest Uncommon Substring in an Array, Insert Delete GetRandom O(1) - Duplicates allowed, Design Hit Counter, Group Anagrams, Valid Anagram, String Compression, Coin Change.
Which topics come up in Affirm coding rounds?
design data structure, hash maps, strings, graphs, simulation, dynamic programming.
How hard are Affirm coding questions?
Of the reported questions, 4 are easy, 8 medium and 2 hard. A 45 to 60 minute live interview where you solve one or two data-structures-and-algorithms problems while explaining your thinking. Interviewers score problem solving, code quality, testing and communication.