Navan Interview Question

coding a pubsub in java multithreaded in coderpad you can look up in google if you need but it is hard. not the everyday easy/meduim leetcode - i would say a hard one.