Mercer interview question

focus on design pattern