InterviewDB Experience

Transaction Audit: Detect Anomalous Transactions Exceeding Daily Limits

Interview Experience

Problem You are given a list of transactions (account_id, timestamp, amount). Flag any account where the total transaction amount exceeds a daily limit L on any single calendar day. Return a list of (account_id, date) pairs that were flagged, sorted by account then date. Follow-ups How do you handle timezone-aware vs. UTC timestamps when grouping by calendar day? If transactions stream in real time, how do you efficiently update daily totals without reprocessing all records? Extend to flag accou…

Full Details

🔒

Unlock all Brex questions

Full insider details, leaked discussions, and candidate experiences.

Get full access — $100 a year, unlimited access

About This Question

This is a candidate experience report from a brex interview during the phone round.

It covers the following topics: Coding, Sql, Phone, Onsite .