Bounteous x Accolite Interview Question

Rotate an array(1D) from the given point.

Interview Answer

Anonymous

Feb 12, 2021

#include using namespace std; int main() { //code int N,D,T; cin>>T; while(T) { cin>>N>>D; int arr[N],temp[D],i; for(i=0;i>arr[i]; } for(i=0;i