Socotra Interview Question

How to sort data based on multiple critera

Interview Answer

Anonymous

May 5, 2016

Create a data structure to capture the characteristics that are important and then create a compare function which can compare the data elements.