Bloomberg Interview Question

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

Interview Answer

Anonymous

Mar 25, 2015

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