← Amazon questions

Minimize cash flow among a weighted directed graph of transactions

Filed under Amazon

Given a weighted directed graph representing debts among a group of people, minimize the total number of transactions and calculate the minimum cash flow to settle all debts.

You've read your 3 free write-ups

Sign up free to keep reading. Your account opens the first 10 questions of every company.

Related Amazon questions

Collected from public candidate posts and coding forums. Updated Nov 2026.