Pergunta de entrevista da empresa NTT DATA

DP question and question about sort