UBS interview question

architecture discussion around multi threading