FamPay interview question

Schema / API Design of Splitwise