HackerRank: Second Smallest Element
Given an array of size N, find the second smallest element in the array. (Do not use sort function. Use O(n) approach.) Input Format There are two lines in the input: An integer N (size of array) N integers (elements of the array) Constraints N\>...