Software Engineer • Senior-Level
Software Engineer • Senior-Level
High QualityPrep Other Coding Questions Asked by Affirm
Continue with targeted prep from Affirm's coding question bank.
Interview Summary
This Affirm technical screen felt closer to a real workplace data-processing task than a traditional LeetCode problem. The objects and input types were mostly predefined, but the prompt and boilerplate were long. The main challenge was understanding the business rules quickly enough to implement the state tracking cleanly.
Interview Details
Interview Questions Details
-
Coding — Campaign Eligibility From User Activity: The problem involved a set of promotional campaigns and a stream of user activity records. Each campaign had metadata such as an identifier, a valid time window, and a per-user usage limit. Each user event described an action against a campaign, such as consuming or reversing usage. The task was to determine which campaigns each user was still eligible to use before a given cutoff time.
-
Core State Tracking: The algorithm itself did not require anything fancy. A natural solution was to scan the activity events and maintain a nested
Unlock Full Details
Create a free account to unlock this interview experience report.