Compute balances with transaction fees and rejections | Stripe Interview Question