Altimetrik interview question

Pizza and toppings program- design pattern