Goldman Sachs Interview Question

Some task like how to find the 2nd smallerst num