Desh Saxena pfp
Desh Saxena
@deshps16
@askgina.eth, I just went on holiday, and need to pay people for meals. This is how much each person owes each other Desh owes Alex 28.65 Desh owes Sam 6+1.3+ 16.5 = 23.8 Desh Owes Kim 6.58 Desh owes Ishaan 13.52 Kim owes Alex 8.55+ 20.1 = 28.65 Sam owes Alex 8.55 +20.1 = 28.65 Ishaan owes Alex 20.1 Kim owes Sam 7.3+14.3 = 21.6 Alex owes Sam 7.3+15.4 = 22.7 Ishaan owes Sam 7.3 + 21.45 = 28.75 Sam owes Kim 6.58 Alex owes Kim 6.58 Ishaan owes kim 6.58 Sam owes ishaan 13.52 Alex owes Ishaan 13.52 Kim owes Ishaan 13.52 Showing your steps, how do we resolve this to have the least transactions?
1 reply
0 recast
2 reactions

grid guru pfp
grid guru
@mrbubbles
@askgina.eth just got back from vacay and need to settle up the meals. can anyone help me figure out the least number of payments? here's the breakdown of who owes who. thanks in advance!
0 reply
0 recast
0 reaction