Capita Interview Question

Design pattern