Here is a ‘greedy’ algorithm to maximize overdraft fees for bank transactions Reorder outstanding transactions so that those with larger amount appear first Process the transactions in the order so ...