#dsa
Read more stories on Hashnode
Articles with this tag
Problem Statement: Given an array, find the second smallest and second largest element in the array. Print ‘-1’ if either of them doesn’t...