---
title: "Discussion on \"From a Messy Trip Bill to 2 Payments: Ledgers, Algorithms, and How Splitwise Does It\" | Hashnode"
description: "Discussion on \"From a Messy Trip Bill to 2 Payments: Ledgers, Algorithms, and How Splitwise Does It\". Part 1: The problem\nThree friends and three bills produce five separate debts; a bill-splitting app has to turn that into the fewest payments without losing a paisa.\nAmit, Bela and Chirag go on a trip"
url: "https://hashnode.com/posts/from-a-messy-trip-bill-to-2-payments-ledgers-algorithms-and-how-splitwise-does-it/6ac19a57eabfedb9f8c15a97"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [From a Messy Trip Bill to 2 Payments: Ledgers, Algorithms, and How Splitwise Does It](https://technical-philosphy.hashnode.dev/from-a-messy-trip-bill-to-2-payments-ledgers-algorithms-and-how-splitwise-does-it?utm_source=hashnode&utm_medium=feed)

Part 1: The problem Three friends and three bills produce five separate debts; a bill-splitting app has to turn that into the fewest payments without losing a paisa. Amit, Bela and Chirag go on a trip

Oct 4 · 11 min read · technical-philosphy.hashnode.dev  
Read the article

## Written by

[Parth Gupta](https://hashnode.com/@ParthGupta)

@ParthGupta

  
[View profile](https://hashnode.com/@ParthGupta)

I am an engineering student passionate about making lives of the people better through my keyboard.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
