Stripe interview question

Mainly string manipulation coding questions