...

/

Optimal Account Balancing

Optimal Account Balancing

Try to solve the Optimal Account Balancing problem.

Statement

Given a list of transactions, where each transaction is represented as transactions[i]=[fromi, toi, amounti]transactions[i] = [from_i,~ to_i,~amount_i] ...