Pregunta de entrevista de Greenhouse Software

basic object oriented coding question in a language of my choice