Affirm Interview Questions
Practice the exact questions companies are asking right now.
Implement and debug event filtering in Python
You are given a list of event dictionaries with keys: id (str), type (str), ts (int, seconds since epoch), payload (dict). Implement filter_events(eve...
Design a Ticketmaster-like ticketing system
System Design Prompt Design an online event ticketing platform (Ticketmaster-like) that allows users to: 1. Browse/search events and view seat maps (o...
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...
Find shortest unique substring per word
Shortest unique substring for each word You are given an array of distinct strings words. For each word w in words, find a non-empty contiguous substr...
Calculate Profit of 4-Month Loan at 30% APR
Credit Risk — Short-term Personal Loan Profitability Context You are evaluating the profit on a simple-interest personal loan. Assume no compounding, ...
Diagnose Sudden Drop in Credit-Card Approval Rate
Fraud Risk: Sudden Drop in Credit Approval Rate Context You are the on-call Data Scientist supporting the risk/underwriting system. Historically, the ...
Navigate Cultural Differences in Cross-Functional Teams
Behavioral: Tell Me About Yourself + Handling Cultural Differences Context - Role: Data Scientist (Credit and Fraud analytics) - Round: Technical/Phon...
Analyze Loan Payments Using Pandas for Key Insights
loan_payments +------------+------------+-------------+-----------+---------+ | loan_id | payment_id | payment_date | amount | status | +------...
Deliver a concise self-introduction
Behavioral Prompt: 1–2 Minute Self‑Introduction for a Data Engineer Technical Screen Context You are interviewing for a Data Engineer role in a techni...
Write SQL for Transactions and Customers
You are given two tables: - customers(customer_id INT PRIMARY KEY, signup_date DATE, region VARCHAR, segment VARCHAR) - transactions(transaction_id IN...
Discuss team fit and leadership with manager
Behavioral Interview Prep: 30‑Minute Hiring Manager Conversation (Software Engineer) Context You are preparing for an onsite hiring manager interview ...
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 alternately pick either the leftmost or rightmost ...