Hudson River Trading interview question

Question about the Processes and Threads. Some medium level leetcode problems.