ZOHO Company Programming Arrays

(2,1,5,4,6) in the given array print the next largest number in that array for every element. 2->4 , 1->2, 5->6, 4->5 , 6-> 2)

Read Solution (Total 1)

ZOHO Other Question

Write a program which should give an output

*
* *
* * *
* * * *
* * *
* *
*