← Questions

Merchant fraud risk scores from a day of transactions

0
StripeCodingLast asked Aug 2026

A coding interview question asked in Stripe's HackerRank assessment, last asked Aug 2026. It tests hash map and simulation.

Each merchant starts the day with a fraud risk score. You get the day's transactions (customer, merchant, hour, amount) and, for each transaction, a rule with a minimum amount, a multiplier, an additive weight and a penalty.

Sign in to unlock this question

The full prompt, the worked answer and your own canvas or code with the AI tutor. New accounts get 5 credits: each one unlocks a question for good.

Where it's asked

What it tests

hash map · simulation

Your code and the AI tutor open when you unlock this question.