AI Coding Round
Design a Splitwise-like expense tracking and debt settlement app, and implement a smart settlement feature.
In the first part of the interview we did LLD and HLD design, and I needed to make clear the following:
- Functional and non-functional requirements
- API design
- Core entity design
In the later part of the interview, I was asked to write code without using AI, implementing two core methods:
- settle() - calculate the number of transactions needed to settle everyone's balances.
- settle_optimally() - minimize the number of transactions needed to settle all balances.
Discussion
Loading comments…