Detect High-Value Transactions

Medium

📝 Description

Flag transactions above a threshold as suspicious.

Input Format

[100, 5000, 200, 10000], threshold=5000

Output Format

[5000, 10000]

Constraints

Number of transactions ≤ 10^5

🔍 Sample Input

[100, 5000, 200, 10000], 5000
            

✅ Sample Output

[5000, 10000]
            

Code Editor

Please login to run and submit code.

Shortcuts: Ctrl+Enter to submit, Ctrl+Shift+R to run