I am unable to find counter example for my solution. please help.
My Submission: CodeChef: Practical coding for everyone
I am unable to find counter example for my solution. please help.
My Submission: CodeChef: Practical coding for everyone
Test case :
2
2 1
Correct output :
2
1 for making cyclic shift on [1,2] sub-array ( 1,2 are indexes ) and 1 for making them equal .