Stripe interview question

An array problem, not hard