Detect Fraudulent Transactions

Given a list of transactions, return all fraudulent transactions.

Each transaction contains:

Transaction(
    accountHolderName: string,
    amount: int,
    location: string,
    timeStamp:...

Example

Unlock to view complete problem details

and practice with sample input/output

Was this article helpful?

View Test Cases & Run Code requires membership

Standard Input
Execution Result: