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 .