The python solution does not work! works fine , but i

The python solution does not work!!! works fine , but it is alignment error in your IDE!!

Hi Anubhav, Note that the base template shown has indentation of 2 spaces in between “class Solution:” and "def rotateArray(self, A, B):"
If your rest of the code has an indentation with a tab space, you need to make sure you change those 2 spaces to a tab character as well.

The Editor takes care of the indentation if the code is written in the editor itself.

Click here to start solving coding interview questions