int main() { Solution sol; int array[10] = {1, 2, 3, 4, 5, 6,7, 8, 9, 10}; int* shifted = sol.Shuffle(array, 10, 5); for (int i = 0; i < 5;i++) { std::cout << shifted[i] << " "; } std::cout << std::endl; return 0; }