ADP interview question

About design patterns