UBS Interview Question

some technical questions