R Systems interview question

Design patterns