With a bit of graph theory you could work out the net result of all those transactions such that someone who owes and is owed an equal value is eliminated from the graph.
@Emyr started
London Fixed Gear and Single-Speed is a community of predominantly fixed gear and single-speed cyclists in and around London, UK.
This site is supported almost exclusively by donations. Please consider donating a small amount regularly.
With a bit of graph theory you could work out the net result of all those transactions such that someone who owes and is owed an equal value is eliminated from the graph.