Pergunta de entrevista da empresa Simba Technologies

Explain a sorting algorithm and code it