Skip to content

Latest commit

 

History

History
30 lines (23 loc) · 654 Bytes

1.You are given with an array. each element present in the array your task is to print the next smallest than that number. If it is not smallest print -1

File metadata and controls

30 lines (23 loc) · 654 Bytes