InterviewDB
Experience
Transaction Audit: Detect Anomalous Transactions Exceeding Daily Limits
phone
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