Pregunta de entrevista de Morgan Stanley

Design and implement an interface to filter iterator output