Hello Alfred Interview Question

High level OO design question