Find second minimum element in array

the quetion is Goldman Sachs interview quetion and i couldn't answer it and it's to find the second minimum element in array
note: the array might have dublicates .

Comments (36)