Affirm's first technical hurdle, as candidates describe it, is a live or timed coding session in HackerRank rather than a long automated test battery. Some people report a take-home exercise instead, and Affirm does not publish its steps, so the recruiter's email is the only authoritative source. Below is what the screen tends to look like, the payments-flavored problems to drill, and how to prepare over two weeks. New to the term? Read what an online assessment is first.
What the Affirm screen looks like
Affirm describes itself as remote-first and builds pay-over-time loans, so a lot of its engineering is back-end money logic. Reports in our Affirm coding interview guide mention about an hour of HackerRank coding for the technical screen, with a few candidates receiving a take-home. This page focuses on the assessment-style part.
| Item | What candidates report | How sure we are |
|---|---|---|
| Platform | HackerRank editor | Commonly reported; not published by Affirm |
| Length | Roughly one hour for the screen | Varies by recruiter and role |
| Problems | One or two practical coding tasks | Candidate-reported |
| Alternative | A take-home exercise for some candidates | A few reports |
| Languages | Typically your choice; Python is frequently mentioned | Check the invitation |
Problem types worth drilling
Described in our own words as practice material, not as Affirm's questions.
- Installment schedule. Given a principal, a number of payments and a start date, produce the schedule with whole-cent amounts that sum exactly to the total, putting any leftover cents on the first payment. Teaches integer money and remainder handling.
- Refund allocation. A customer returns part of an order; spread the refund across payments already made, newest first. Teaches ordered iteration and state mutation.
- Fraud flags. Scan a stream of purchase events and flag any card seen in two far-apart cities within an hour. Teaches grouping, sorting by time and window checks.
- Merchant rollup. Aggregate transactions per merchant and return the top three by volume, ties broken alphabetically. Teaches dictionaries and stable sorting.
- Interest accrual. Simulate daily balance changes with deposits and compound a rate, returning a rounded total. Teaches careful numeric thinking.
The common thread is correctness under rounding and ordering rules. Hidden tests in an assessment often hit exactly those corners.
How the screen is judged
Affirm has not published a scorecard. Candidates describe being evaluated on whether the code runs and handles edge cases, on communication if the session is live, and on how cleanly you structure a small program. If the format is a take-home, expect attention to tests, naming and a short write-up of your trade-offs. There is no public pass mark. After a good result, candidates describe a roughly four-hour virtual onsite with two coding rounds, a system design round and a behavioral conversation; timing between steps depends on recruiter capacity.
Two-week prep plan
- Days 1 to 2: open the HackerRank editor you will use and run through a free sample to learn where input, language and run buttons live. Our HackerRank assessment guide walks through it.
- Days 3 to 7: five money drills from the list above, each written twice: once quickly, once with tests for zero, one and many items.
- Days 8 to 10: classic mediums from the LeetCode 75 set on arrays, hash maps and intervals; time yourself at 25 minutes each.
- Days 11 to 12: read your own solutions aloud as if explaining to an interviewer; note where you stumble.
- Days 13 to 14: one mock hour with a friend or a timer; fix environment issues such as webcam, battery and a quiet room.
Staying inside the rules
Assume the usual: your own work, no consulting people or tools during the timed portion, and no posting the problems afterward. If Affirm sends a take-home, read the instructions for what resources are permitted, since some companies explicitly allow documentation lookups and others say nothing. A recruiter will answer a direct question about AI assistance; ask rather than guess. Unauthorized help in a payments company is a particularly poor look given how heavily they emphasize trust.
Where CoPilot Interview fits
Practice is where the AI interview assistant is useful for Affirm. Between drills, use a spoken AI mock interview to rehearse explaining a design choice out loud, because the onsite adds a payments system design round and a hiring-manager conversation that are verbal. Questions are generated from your resume and the Affirm posting, and every answer is scored out of 10. In live conversations where the employer allows assistance, follow your employer's rules; it is for the interviews, not the timed screen. Paid plans are Standard at $24.99 a month and Pro at $39.99 a month, and The free plan gives 15 minutes a day of live help in sessions of up to 15 minutes, with AI mock interviews included.
Disclosure: CoPilot Interview is our product, so weigh what we say about it accordingly.
Frequently asked questions
Does Affirm have an online assessment?
Candidates describe a HackerRank technical screen, and a few describe a take-home. Affirm does not publish it, so confirm with your recruiter.
How long is Affirm's HackerRank screen?
Reports center on about an hour. Your invitation or calendar entry will state the length.
What language should I use for Affirm?
Python is frequently mentioned for Affirm's back end, with Kotlin on newer services, but you can usually pick. Use what you write most cleanly.
Is the Affirm assessment hard?
Candidates describe practical medium problems where precision matters more than exotic algorithms.
What happens after the Affirm screen?
A passing result commonly leads to a virtual onsite with coding, system design and behavioral rounds.
Rehearse it out loud before the real one
The AI mock interview builds questions from your resume and the job description, reads them aloud and scores each spoken answer out of 10. Included on the free plan.
Start a mock interview