UBS interview question

some technical questions