Multiple answers possible

4 6 3 2 5 1
also results in 2 -1 1 5 -1 4

Hello @kdanbhat

The code for 4 6 3 2 5 1 would be 2 -1 1 3 -1 4 and Not 2 -1 1 5 -1 4
Let me know if you still need any help.

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.