algorithm to determine minimum payments amongst a group

后端 未结 8 728
庸人自扰
庸人自扰 2020-12-05 12:09

The Problem

I was recently asked to calculate the money owed amongst a group of people who went on a trip together and came upon an interesting problem: given that

8条回答
  •  悲哀的现实
    2020-12-05 12:32

    Take a look at this blog article, "Optimal Account Balancing", goes over your problem exactly.

提交回复
热议问题