Nomura interview question

Given an n element array . Find the minimum and the second minimum in the array ?

Interview Answer

Anonymous

30 Aug 2015

This is a easy question , but you have to take care of border cases like when all elements are same.

1