Pregunta de entrevista de Bloomberg

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

Respuesta de la entrevista

Anónimo

25 mar 2015

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