UBS interview question

Math problems with limited time to answer