KNGATK Editorial

Problem Explanation

We are given an Array A containing temperature forcast for each day. We have to ouput the second smallest element.

Approach

We can sort the array A and output the second element