UBS interview question

Projects dsa puzzles SQL oops