Sticker Mule interview question

Coding test to calculate discounts. Very simple.