1 test case didnt work


Can’t i do this question in this way…I have created various other test case to pass and it passed them all but idk why test acse 3 is not working…please fix the code…
test case 3 not working

could you help me out???

hey @siddhant_samal
For input

3
3 2 1

Output should be

-1 3 3

Because array is circular,debug for this