UBS interview question

Technical question considering the role requirement