Klaviyo Interview Question

Programming of the dice question