Pregunta de entrevista de J.P. Morgan

What is polymorphism? How would you solve this problem?