Company: Flipkart Grid SDEintern_18july
Difficulty: hard
Bank Fraud Risk Transaction Report Problem Description A bank wants to identify successful transactions that may be fraudulent. The bank stores account information, transaction details, merchant profiles, device activity history and location risk data. Your task is to analyse the records and print the transactions whose fraud risk level is HIGH or MEDIUM . The fraud risk is calculated from account transaction behaviour, same-day transaction velocity, merchant risk, device usage, transaction location and location risk score. Complete the function solve(reference_day, accounts, transactions, merchants, device_activities, location_risks) , which receives the five tables and returns the output line described below (or NA ). The starter code reads the input and prints the returned value. Data Structures Accounts Table Field Description accountId Unique identifier of the account accountHolder Name of the account holder accountType Type of account such as SAVINGS or CURRENT homeLocation Regis