Morgan Stanley interview question

Java multithreading system design dsa