UBS Interview Question

sorting algorithms, design patterns, oop