Recurring Transactions
Recurring Transactions
Design a system to identify recurring transactions. A recurring transaction is defined as a minimum of 3 transactions that meet the following criteria:
- Same Company: All transactions are associated with the same company.
- Same Amount: All transactions have the exact same monetary amount.
- Time Interval: All transactions occur within a specific, defined time interval.
Part 2: Introduce a 20% margin for both the transaction amount and the time interval. This means transactions can be considered recurring if their amounts are within 20% of each other, and their timestamps are within 20% of the defined interval.
AI interview prep
Core dilemma
Balancing the computational complexity of identifying patterns across potentially massive transaction datasets against the need for timely and accurate detection of recurring transactions, especially with flexible amount and time criteria.
3 tradeoffs and 2 stress tests locked
Interview prep
Unlock the interviewer X-Ray rubric, tradeoff matrix, stress tests, clarifying questions, and key concepts.
Recurring Transactions
Recurring Transactions
Design a system to identify recurring transactions. A recurring transaction is defined as a minimum of 3 transactions that meet the following criteria:
- Same Company: All transactions are associated with the same company.
- Same Amount: All transactions have the exact same monetary amount.
- Time Interval: All transactions occur within a specific, defined time interval.
Part 2: Introduce a 20% margin for both the transaction amount and the time interval. This means transactions can be considered recurring if their amounts are within 20% of each other, and their timestamps are within 20% of the defined interval.