• + 0 comments

    Can somebody please explain the logic ? I did it with loop for shifting array elements but it shows timeout error for large testcases.