UBS interview question

Programming skills