Edenred interview question

Design pattern?