You are viewing a single comment's thread. Return to all comments →
why my code gives wrong answers ...?
vector <int> circularArrayRotation(vector <int> a, vector <int> m,int n,int k, int q)
you need to return q not a.
you are not supposed to print the whole array a but only the elements at positions in queries
how come!, It's not working???
if you try to interchange the value,t then it does not work,