Pregunta de entrevista de Morgan Stanley

Implement the publisher-subscriber pattern and make it multi-threaded