Thoughtworks Interview Question

Design Pattern for a small project