Optimize Stock Transactions by Offsetting to Minimize Records

Easyimc

There are 10 bank accounts, each associated with different stock symbols that are bought and sold between accounts. Given a 100MB XML file containing records of stock transactions, where each transact...

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: