You are viewing a single comment's thread. Return to all comments →
i used this code insted of the second for:
rotate(a.begin(),a.end()-k,a.end());
Circular Array Rotation
You are viewing a single comment's thread. Return to all comments →
i used this code insted of the second for: