You are given a pile of trade data. Return the trades that cannot be paired: buys and sells that do not match up. In other words, reconcile the trades and find the breaks. The report gives no data format, pairing rule or function signature: you settle them with the interviewer,…