UBS Interview Question

architecture discussion around multi threading