Question d’entretien chez J.P. Morgan

Was asked a string manipulation question and also a sorting question.