Question d’entretien chez Goldman Sachs

DSA Question on sorting. Along with some optimization techniques