Pergunta de entrevista da empresa Salesforce

How to find second minimum element from array