News

You are given with an array. For each element present in the array your task is to print the next smallest than that number. If it is not smallest print -1 ...
You are provided with an array in which all elements are repeated thrice except one which is repeated twice.Your task is to print that number.