Pergunta de entrevista da empresa SmartPay

Explain quick sort and do an example line by line.