Sutherland interview question

class design questions