Pergunta de entrevista da empresa HeapTrace

code to find second smallest element in integer array ?