ABS interview question

Design patterns