Klaviyo interview question

How would you improve this system?