Bloomberg interview question

Given a class List with some virtual methods, how would I implement a sorted list?

Interview Answer

Anonymous

25 Mar 2015

I overrode the insert method in a SortedList derived class to maintain the list in sorted order.