Optimal Account Balancing
Try to solve the Optimal Account Balancing problem.
We'll cover the following
Statement
Given a list of transactions, where each transaction is represented as
Constraints:
transactions.length
transactions[i].length
from
i
,to
i
amount
i
from
i
to
i
Examples
Level up your interview prep. Join Educative to access 80+ hands-on prep courses.