Affirm Coding & Algorithms Interview Questions

Practice the exact questions companies are asking right now.

11 Questions 1 Company05.01.2026
Showing 11 results
Role
Affirm logo
Affirm
Medium
Software Engineer Locked

Determine Redeemable Promotion Offers

This question evaluates proficiency in event-stream processing, stateful counting, timestamp filtering, and enforcing business constraints for limited...

Coding & Algorithms
2
2
23 people solved
May 1, 2026
Affirm logo
Affirm
Medium
Software Engineer

Count Distinct PII in Underwriting Events

Count Distinct PII in Underwriting Events An event stream contains underwriting and fraud_flag events. Count the distinct nonempty personally identifi...

Coding & Algorithms
1
0
15 people solved
Apr 19, 2026
Affirm logo
Affirm
Medium
Software Engineer

Detect Fraud by Propagating Suspicious PII

Detect Fraud by Propagating Suspicious PII Process a stream of underwriting and fraud_flag events in order. Maintain a set of suspicious PII values dr...

Coding & Algorithms
1
2
15 people solved
Apr 19, 2026
Affirm logo
Affirm
Medium
Software Engineer

Determine winner in optimal-play card game

Determine winner in optimal-play card game Given a row of N cards with integer values (values may be positive, zero, or negative), two players alterna...

Coding & Algorithms
19
1
156 people solved
Jul 15, 2025
Affirm logo
Affirm
Easy
Software Engineer Locked

Compute Available Offers per User

This question evaluates event-stream processing, stateful per-user counting, and time-window filtering competencies, requiring correctness with ordere...

Coding & Algorithms
12
0
92 people solved
Mar 13, 2026
Affirm logo
Affirm
Medium
Software Engineer Locked

Aggregate loans and match repayments

This question evaluates the ability to aggregate transactional loan records and match repayment transactions to outstanding loans, testing competencie...

Coding & Algorithms
6
0
79 people solved
Mar 7, 2026
Affirm logo
Affirm
Medium
Software EngineerSenior+ Locked

Implement a timestamped map

This question evaluates a candidate's ability to implement time-indexed key-value storage, covering data structure design, versioning semantics, and a...

Coding & Algorithms
7
0
83 people solved
Mar 3, 2026
Affirm logo
Affirm
Hard
Software Engineer Locked

Compute Balances and Minimize Settlements

This question evaluates transactional data aggregation and net-balance computation skills alongside combinatorial optimization for minimizing settleme...

Coding & Algorithms
10
0
84 people solved
Feb 27, 2026
Affirm logo
Affirm
Easy
Software Engineer

Implement an LRU cache

Problem Design and implement an LRU (Least Recently Used) cache that supports the following operations in average O(1) time: - get(key) -> value: Retu...

Coding & Algorithms
10
0
89 people solved
Nov 6, 2025
Affirm logo
Affirm
Medium
Software Engineer Locked

Find shortest unique substring per word

This question evaluates string-processing and algorithmic problem-solving skills, focusing on identifying substrings unique to each word while handlin...

Coding & Algorithms
11
0
86 people solved
Oct 27, 2025
Affirm logo
Affirm
Medium
Software Engineer Locked

Detect fraud events and extract PII

This question evaluates skills in parsing nested event data, extracting and deduplicating PII fields, and performing key-based correlation to detect r...

Coding & Algorithms
12
2
129 people solved
Mar 1, 2026

Explore more Affirm Coding & Algorithms interview questions

Real questions from candidate reports, grouped by role, topic and company.

Coding & Algorithms questions at other companies
Browse all