Implement Validation and String Compression | Stripe Coding Question