Pregunta de entrevista de Red Hat

OOP questions, Java, algorithms, pretty standard and fairly typical.