Morgan Stanley Interview Question

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