input: array[] = {0,1,2,3,4};
output should be {3,4,0,1,2};
can you please help me