Am I retarded?
If A = [3, 8, 9, 7, 6] and K = 3, shouldn't the function return [7, 6, 3, 8, 9] (as opposed to the instructions in pic related)?
https://codility.com/demo/take-sample-test/cyclic_rotation/
>>54517403
You're retarded.
[3, 8, 9, 7, 6] k = 0
[6, 3, 8, 9, 7] k = 1
[7, 6, 3, 8, 9] k = 2
[9, 7, 6, 3, 8] k = 3
>>54517403
Just read it once again, it's described in full detail.
>>54517488
>>54517505
Oh I got the rotation direction wrong. Thank you senpai.
>>54517533
i was just about to insult you until you understood the problem
>>54517557
Please insult me anyway. Use the harshest words possible.
>>54517609
You use Windows.
>>54517775
You fucking crossed the line Anon
way too far