Stripe interview question

bug squash - tricky but doable, data structures and architecture questions