Pregunta de entrevista de think-cell

Implement a member function according to a specification.